[issue30955] \\N in f-string causes next { to be literal if not escaped

2017-07-17 Thread Ned Deily
Ned Deily added the comment: Thanks for the report. This problem has been fixed in Python 3.6.2 which was just released. I believe it was fixed by the changes for Issue29104. -- nosy: +ned.deily resolution: -> out of date stage: -> resolved status: open -> closed

[issue30955] \\N in f-string causes next { to be literal if not escaped

2017-07-17 Thread Mital Ashok
New submission from Mital Ashok: Take this format python code: import unicodedata c = chr(0x012345) To print that character as a string literal, you would expect to do: print(f"'\\N{{{unicodedata.name(c)}}}'") Which should print a literal quote (`'`), a backwards slash (`\\` ->