[New-bugs-announce] [issue14627] Fatal Python Error when Python startup is interrupted by CTRL+c

STINNER Victor report at bugs.python.org
Fri Apr 20 02:01:22 CEST 2012


New submission from STINNER Victor <victor.stinner at gmail.com>:

If you press CTRL+c while Python is starting, you may get such error:

^CFatal Python error: Py_Initialize: can't initialize sys standard streams
Traceback (most recent call last):
  File "<frozen importlib._bootstrap>", line 990, in _find_and_load
  File "<frozen importlib._bootstrap>", line 571, in load_module
  File "<frozen importlib._bootstrap>", line 228, in module_for_loader_wrapper
  File "<frozen importlib._bootstrap>", line 456, in _load_module
  File "/home/haypo/prog/python/default/Lib/io.py", line 90, in <module>
    RawIOBase.register(FileIO)
  File "/home/haypo/prog/python/default/Lib/abc.py", line 155, in register
    if issubclass(subclass, cls):
  File "/home/haypo/prog/python/default/Lib/abc.py", line 201, in __subclasscheck__
    elif subclass in cls._abc_negative_cache:
KeyboardInterrupt
Abandon

----------
messages: 158782
nosy: brett.cannon, haypo
priority: normal
severity: normal
status: open
title: Fatal Python Error when Python startup is interrupted by CTRL+c
versions: Python 3.3

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


More information about the New-bugs-announce mailing list