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 <rep...@bugs.python.org> <http://bugs.python.org/issue30332> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com