[issue29071] IDLE doesn't highlight f-strings properly

Terry J. Reedy report at bugs.python.org
Tue Dec 27 00:20:10 EST 2016


Terry J. Reedy added the comment:

There are 10 possible f-string prefixes, including combinations with r/R.  See
https://docs.python.org/3/reference/lexical_analysis.html#string-and-bytes-literals

While adding these, I noticed that IDLE was coloring now invalid ur prefixes and deleted those.

I decided to test by modifying the existing human visual htest.

Ammar: thank you for submitting a patch.  It happens that I wrote my patch before I saw your submission.  If I had seen yours first, I might have given you a chance to finish it.  Feel free to try another IDLE issue.

----------
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

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


More information about the Python-bugs-list mailing list