[issue43476] Enabling access to showsyntaxerror for IDLE's shell
Andre Roberge
report at bugs.python.org
Mon Jun 21 05:24:46 EDT 2021
Andre Roberge <andre.roberge at gmail.com> added the comment:
Unless I am mistaken, when compiling the code, both SyntaxError and OverflowError instances are caught at the same stage, and likely passed on to showsyntaxerror. For OverflowError, e.args is not normally a tuple but a string, and *e.args[1] would raise an exception.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43476>
_______________________________________
More information about the Python-bugs-list
mailing list