[issue30332] Errors that aren't actually defined are purple in the IDLE
Terry J. Reedy
report at bugs.python.org
Wed May 10 13:27:20 EDT 2017
Terry J. Reedy added the comment:
You neglected to say which version of Python you used. 2.7? 3.2? When I type the following in 3.5+ on Win10,
>>> IOError, KeyError, PermissionError, int, list, FileNotFoundError
all the names have the same builtins highlight. In 2.7 (and early 3.x), PermissionError and FileNotFoundError did not exist as builtins and should not get the hightlight.
----------
versions: -Python 2.7, Python 3.3, Python 3.4, Python 3.5
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30332>
_______________________________________
More information about the Python-bugs-list
mailing list