Message 310141 - Python tracker
Syntax errors come from Python, not IDLE. Except for the pseudofile name ('<pyshell*nnnn>' versus '<stdin>'), the message is the same as the interactive interpreter. Anytime one thinks IDLE has a bug, one should check the standard interactive interpreter as a 'control'.