[issue18836] Potential race condition in exceptions

Sworddragon report at bugs.python.org
Mon Aug 26 08:32:52 CEST 2013


Sworddragon added the comment:

> Are you saying that if the user keeps hitting ctrl+c you would need an endless chain of nested try/except in order to catch them all?

Correct. For example if I want to show the user the message "Aborted" instead of a huge exception if he hits CTRL + C another KeyboardInterrupt could appear.

----------

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


More information about the Python-bugs-list mailing list