[issue15313] IDLE - remove all bare excepts

Terry J. Reedy report at bugs.python.org
Tue Jul 10 06:17:06 CEST 2012


Terry J. Reedy <tjreedy at udel.edu> added the comment:

And possibly change the except clause. The except clause at PyShell 1245 was 'pass', which masked the issue of #13532 and was changed to 'raise' to effectively remove the try: except: to make the unknown problem more visible. It should perhaps be really removed if and when all calls to PyShell.write(s) are properly guarded to make sure 's' is writable.

----------
type: enhancement -> behavior

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15313>
_______________________________________


More information about the Python-bugs-list mailing list