[issue27921] f-strings: do not allow backslashes

Eric V. Smith report at bugs.python.org
Fri Sep 2 08:08:27 EDT 2016


Eric V. Smith added the comment:

> This looks a little ugly.

True. My goal is to get the simplest possible thing working now, and then before beta 2 fix it so that backslashes again work in the text portions of an f-string. After that, I'll fix this particular piece of code (and the others, plus the tests that can be made to work).

Here's an updated patch. I'm planning on committing it today.

----------
Added file: http://bugs.python.org/file44347/27921-1.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27921>
_______________________________________


More information about the Python-bugs-list mailing list