[issue14958] IDLE 3 and PEP414 - highlighting unicode literals

Ned Deily report at bugs.python.org
Wed May 30 08:04:40 CEST 2012


Ned Deily <nad at acm.org> added the comment:

It turns out that the previous and current versions of IDLE syntax highlighting did not recognize literals with valid two-character prefixes, like "ur" or "br".  Besides restoring "ur", 3.3 also added "rb" to the existing "br" prefixes.  The applied patch explicitly matches any of the prefixes documented in the 3.3 language reference:

http://docs.python.org/dev/reference/lexical_analysis.html#string-and-bytes-literals

----------
nosy: +ned.deily
resolution:  -> fixed
stage: needs patch -> committed/rejected
status: open -> closed

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


More information about the Python-bugs-list mailing list