5 ms·
This affects the exception that causes the program to exit only. It does not affect exceptions caught and handled.
by Erwin 17y ago
This affects the exception that causes the program to exit only. It does not affect exceptions caught and handled.
- gjm11 17y agoNot quite. Indeed it doesn't affect exceptions that are caught and handled; but in interactive Python use it affects exceptions that reach the toplevel (producing a traceback message) even though that doesn't make Python exit.
- amackera 17y agoYeah but in interactive Python, 60ms is not a long time.
- prodigal_erik 17y agoI'd be cranky if I were signed in to troubleshoot a busy production server and accidentally opened two hundred files because of one typo. Especially if it's uncommon stuff that probably isn't in the buffer cache.