commit | 570b1c971c31cd08dbf060f4e21636c40aa47786 | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Fri Jun 09 00:38:06 2017 +0300 |
committer | GitHub <noreply@github.com> | Fri Jun 09 00:38:06 2017 +0300 |
tree | f13cb58e5792e0a969e4dc6c59f0624ec9b9cbe2 | |
parent | b319d09ee4427aac1ee8f298692127d34ef57dc0 [diff] |
[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)