[issue19983] Ctrl-C at startup can end in a Py_FatalError call
Antoine Pitrou
report at bugs.python.org
Sun Dec 15 18:37:40 CET 2013
Antoine Pitrou added the comment:
Ah, ok. So it's a controlled crash: Python fails initializing the standard streams and so it decides to bail out (by using Py_FatalError, since Py_Initialize doesn't return an error code).
What we could do is call initsigs() after initstdio() (but still before initsite(), since initsite() can call arbitrary Python code).
I'm a bit surprised that you manage to press Ctrl-C so fast that it occurs right during initialization of standard streams, by the way :-)
----------
nosy: +haypo, pitrou
title: Ctrl-C causes startup crashes on Windows -> Ctrl-C at startup can end in a Py_FatalError call
versions: -Python 3.3
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19983>
_______________________________________
More information about the Python-bugs-list
mailing list