cpython: 3822c8087d70 (original) (raw)

Mercurial > cpython

changeset 73877:3822c8087d70 3.2

Issue #8641: Update IDLE 3 syntax coloring to recognize b".." and not u"..". (Patch by Tal Einat) [#8641]

Ned Deily nad@acm.org
date Wed, 07 Dec 2011 01:08:35 -0800
parents b6b4d74b8d42
children e49220f4c31f 17ceebc61b65
files Lib/idlelib/ColorDelegator.py Misc/ACKS Misc/NEWS
diffstat 3 files changed, 8 insertions(+), 4 deletions(-)[+] [-] Lib/idlelib/ColorDelegator.py 8 Misc/ACKS 1 Misc/NEWS 3

line wrap: on

line diff

--- a/Lib/idlelib/ColorDelegator.py +++ b/Lib/idlelib/ColorDelegator.py @@ -20,10 +20,10 @@ def make_pat(): # 1st 'file' colorized normal, 2nd as builtin, 3rd as string builtin = r"([^.'"\#]\b|^)" + any("BUILTIN", builtinlist) + r"\b" comment = any("COMMENT", [r"#[^\n]*"])

--- a/Misc/ACKS +++ b/Misc/ACKS @@ -256,6 +256,7 @@ Hans Eckardt Rodolpho Eckhardt Grant Edwards John Ehresman +Tal Einat Eric Eisner Andrew Eland Julien Élie

--- a/Misc/NEWS +++ b/Misc/NEWS @@ -90,6 +90,9 @@ Core and Builtins Library ------- +- Issue #8641: Update IDLE 3 syntax coloring to recognize b".." and not u"..".