Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 2d4ce2cdd6d4 by Terry Jan Reedy in branch '3.2':
#6528 None, True, False are keywords in 3.x. Patch by Roger Serwy.
http://hg.python.org/cpython/rev/2d4ce2cdd6d4
New changeset 522f07bfa067 by Terry Jan Reedy in
Terry J. Reedy tjre...@udel.edu added the comment:
I just realized that there is 'another' reason not to reuse builtin names
(other than those usually given): they will be colorized as builtins even if
they have no relation to the builtin. Make_pat uses the function any() defined
just above
Changes by Terry J. Reedy tjre...@udel.edu:
--
assignee: - terry.reedy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6528
___
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +terry.reedy
priority: low - normal
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6528
___
Roger Serwy roger.se...@gmail.com added the comment:
The attached patch excludes keywords from the builtin list and corrects the
highlighting configuration panel.
--
keywords: +patch
nosy: +serwy
versions: +Python 3.2, Python 3.3 -Python 3.1
Added file:
Ezio Melotti ezio.melo...@gmail.com added the comment:
In Python 3, True, False and None are keywords, so the orange should be
correct. It should be orange also when you do foo = True though.
--
nosy: +ezio.melotti
___
Python tracker
New submission from Freiddie fei.yua...@gmail.com:
I noticed in that whenever I enter None at the beginning of the line
in IDLE 3.1, the word is colored orange (for keywords) rather than
purple. If I insert a space right before the None, it returns to its
normal purple color (for builtins), so
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +gpolo
priority: - low
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6528
___
___