[issue28827] f-strings: format spec should not accept unicode escapes
Yury Selivanov
report at bugs.python.org
Mon Nov 28 19:37:06 EST 2016
Yury Selivanov added the comment:
Also this inconsistency: we already don't accept escaped letters after `!`:
>>> f'{min!\N{LATIN SMALL LETTER R}}'
File "<stdin>", line 1
SyntaxError: f-string: invalid conversion character: expected 's', 'r', or 'a'
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28827>
_______________________________________
More information about the Python-bugs-list
mailing list