[Python-checkins] [python/cpython] 570b1c: [3.6] bpo-30529: Fix errors for invalid whitespace...
GitHub
noreply at github.com
Thu Jun 8 17:38:08 EDT 2017
Branch: refs/heads/3.6
Home: https://github.com/python/cpython
Commit: 570b1c971c31cd08dbf060f4e21636c40aa47786
https://github.com/python/cpython/commit/570b1c971c31cd08dbf060f4e21636c40aa47786
Author: Serhiy Storchaka <storchaka at gmail.com>
Date: 2017-06-09 (Fri, 09 Jun 2017)
Changed paths:
M Lib/test/test_fstring.py
M Python/ast.c
Log Message:
-----------
[3.6] bpo-30529: Fix errors for invalid whitespaces in f-string subexpressions. (GH-1888) (#2013)
'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.
(cherry picked from commit 2e9cd58)
More information about the Python-checkins
mailing list