This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Errors that aren't actually defined are purple in the IDLE
Type: behavior Stage: resolved
Components: IDLE, Windows Versions: Python 3.7, Python 3.6
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: terry.reedy Nosy List: Jensen Taylor, paul.moore, steve.dower, terry.reedy, tim.golden, zach.ware
Priority: normal Keywords:

Created on 2017-05-10 14:58 by Jensen Taylor, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (4)
msg293424 - (view) Author: Jensen Taylor (Jensen Taylor) * Date: 2017-05-10 15:00
Things like PermissionError and FileNotFoundError that come under IOError, or OSError in Python 3.7
msg293444 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2017-05-10 17:27
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.
msg293445 - (view) Author: Jensen Taylor (Jensen Taylor) * Date: 2017-05-10 17:30
I found this bug in python 3.4.1 and I believeit was a problem in 3.5.2
msg293448 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2017-05-10 18:27
3.4 only gets security fixes.  There is no problem for me in 3.5.3.
History
Date User Action Args
2022-04-11 14:58:46adminsetgithub: 74517
2017-05-14 21:24:08terry.reedysettype: behavior
versions: + Python 3.6, Python 3.7, - Python 3.4, Python 3.5
2017-05-10 18:27:15terry.reedysetstatus: open -> closed
versions: - Python 3.6, Python 3.7
messages: + msg293448

resolution: out of date
stage: resolved
2017-05-10 17:30:44Jensen Taylorsetmessages: + msg293445
versions: + Python 3.4, Python 3.5
2017-05-10 17:27:20terry.reedysetmessages: + msg293444
versions: - Python 2.7, Python 3.3, Python 3.4, Python 3.5
2017-05-10 15:00:40Jensen Taylorsetassignee: terry.reedy

components: + IDLE, Windows
versions: + Python 2.7, Python 3.3, Python 3.4, Python 3.5, Python 3.6, Python 3.7
nosy: + terry.reedy, paul.moore, tim.golden, zach.ware, steve.dower
title: Errors that aren't actually definde -> Errors that aren't actually defined are purple in the IDLE
messages: + msg293424
2017-05-10 14:58:51Jensen Taylorcreate