[issue42858] Incorrect return value for os.system() in recognizing import error

2021-01-07 Thread Guido van Rossum
Change by Guido van Rossum : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue42858] Incorrect return value for os.system() in recognizing import error

2021-01-07 Thread STINNER Victor
STINNER Victor added the comment: See also https://docs.python.org/dev/library/sys.html#sys.unraisablehook -- nosy: +vstinner ___ Python tracker ___

[issue42858] Incorrect return value for os.system() in recognizing import error

2021-01-07 Thread Christian Heimes
Christian Heimes added the comment: The exceptions are ignored (Exception ignored in) on shutdown and therefore don't cause the interpreter to fail with an error code. Unraisable exceptions typically occur when the interpreter is mostly shut down and garbage collection, import or atexit

[issue42858] Incorrect return value for os.system() in recognizing import error

2021-01-07 Thread Xinmeng Xia
Change by Xinmeng Xia : -- type: -> compile error ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42858] Incorrect return value for os.system() in recognizing import error

2021-01-07 Thread Xinmeng Xia
New submission from Xinmeng Xia : Running attached "test_zipfile.py" on Python 3.10 will lead to the following error messages: Exception ignored in: Traceback (most recent call last): File