[issue18836] Potential race condition in exceptions
R. David Murray
report at bugs.python.org
Mon Aug 26 18:48:47 CEST 2013
R. David Murray added the comment:
I wonder if you could achieve what you want (which I always hope programs I use never do[*]) by writing your own signal handler.
In any case, I don't believe there is a bug here. This is working as designed.
[*] There are many times I have found myself leaning on ctl-C on autorepeat hoping that the ctl-c will happen at a point where the application isn't catching it, so that I can get the darn thing to abort. I realize you are proposing to do this only to then do the abort...but what if there is a bug in your code? I'd *much* rather see a traceback than have to fall back to 'kill'. At least with the traceback I know the interpreter has had a chance to clean up.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18836>
_______________________________________
More information about the Python-bugs-list
mailing list