]> granicus.if.org Git - python/commit
bpo-33204: IDLE: consistently color invalid string prefixes (GH-6344)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 2 Apr 2018 06:09:18 +0000 (23:09 -0700)
committerGitHub <noreply@github.com>
Mon, 2 Apr 2018 06:09:18 +0000 (23:09 -0700)
commit6130675efeb3c23cebc43ab07c49eb62cd03cacf
treec92e03cefdc239020298782fd86f608f6d498999
parentab8457232121dfdfb1d4bfcf806a842fbe402722
bpo-33204: IDLE: consistently color invalid string prefixes (GH-6344)

A 'u' string prefix cannot be paired with either 'r' or 'f'.  Consistently
color as much of the prefix, starting at the right, as is valid.
(cherry picked from commit da58533ac67b01ce8f6466e6f03ff6b8b3bb04d5)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Lib/idlelib/colorizer.py
Misc/NEWS.d/next/IDLE/2018-04-02-00-28-13.bpo-33204.NBsuIv.rst [new file with mode: 0644]