[Python-checkins] [python/cpython] 2e9cd5: bpo-30529: Fix errors for invalid whitespaces in f...

GitHub noreply at github.com
Thu Jun 8 16:43:56 EDT 2017


 Branch: refs/heads/master
 Home: https://github.com/python/cpython
 Commit: 2e9cd5825c5ccdbb6f65a57c0c7941078e003c14
 https://github.com/python/cpython/commit/2e9cd5825c5ccdbb6f65a57c0c7941078e003c14
 Author: Serhiy Storchaka <storchaka at gmail.com>
 Date: 2017年06月08日 (2017年6月08日)
 Changed paths:
 M Lib/test/test_fstring.py
 M Python/ast.c
 Log Message:
 -----------
 bpo-30529: Fix errors for invalid whitespaces in f-string subexpressions. (#1888)
'invalid character in identifier' now is raised instead of
'f-string: empty expression not allowed' if a subexpression contains
only whitespaces and they are not accepted by Python parser.


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /