run.py script containing only the '#! python3' shabang line. Test performed in the Windows command prompt. Environment as described in the Python issue report. Python traceback: > D:\Workplace>run.py > Fatal Python error: Py_Initialize: can't initialize sys standard streams > Traceback (most recent call last): > File "C:\Program Files\Python\Python333\lib\io.py", line 52, in > import abc > File "C:\Program Files\Python\Python333\lib\abc.py", line 6, in > from _weakrefset import WeakSet > File "", line 1604, in _handle_fromlist > KeyboardInterrupt Visual studio reports the process as having only 2 threads. C traceback for thread named 'Main Thread': > msvcr100.dll!__crt_debugger_hook() > msvcr100.dll!_call_reportfault() + 0x124 bytes > msvcr100.dll!abort() + 0x35 bytes > python33.dll!Py_FatalError(const char * msg=0x0000000001efa4d0) Line 2379 C > python33.dll!_Py_InitializeEx_Private(int install_sigs=1, int install_importlib=0) Line 389 C > python33.dll!Py_Main(int argc=0, unsigned short * * argv=0x0000034400000000) Line 652 C > python.exe!__tmainCRTStartup() Line 552 + 0x19 bytes C > kernel32.dll!BaseThreadInitThunk() + 0xd bytes > ntdll.dll!RtlUserThreadStart() + 0x21 bytes C traceback for thread named 'TppWaiterpThread': > ntdll.dll!ZwWaitForMultipleObjects() + 0xa bytes > ntdll.dll!TppWaiterpThread() + 0x147 bytes > kernel32.dll!BaseThreadInitThunk() + 0xd bytes > ntdll.dll!RtlUserThreadStart() + 0x21 bytes Complete Visual Studio debug output: > 'python.exe': Loaded 'C:\Program Files\Python\Python333\python.exe', Symbols loaded. > 'python.exe': Loaded 'C:\Windows\System32\ntdll.dll', Symbols loaded (source information stripped). > 'python.exe': Loaded 'C:\Windows\System32\kernel32.dll', Symbols loaded (source information stripped). > 'python.exe': Loaded 'C:\Windows\System32\KernelBase.dll' > 'python.exe': Loaded 'C:\Program Files\Python\Python333\python33.dll', Symbols loaded. > 'python.exe': Loaded 'C:\Windows\System32\user32.dll' > 'python.exe': Loaded 'C:\Windows\System32\gdi32.dll' > 'python.exe': Loaded 'C:\Windows\System32\lpk.dll' > 'python.exe': Loaded 'C:\Windows\System32\usp10.dll' > 'python.exe': Loaded 'C:\Windows\System32\msvcrt.dll' > 'python.exe': Loaded 'C:\Windows\System32\advapi32.dll' > 'python.exe': Loaded 'C:\Windows\System32\sechost.dll' > 'python.exe': Loaded 'C:\Windows\System32\rpcrt4.dll' > 'python.exe': Loaded 'C:\Windows\System32\shell32.dll' > 'python.exe': Loaded 'C:\Windows\System32\shlwapi.dll' > 'python.exe': Loaded 'C:\Program Files\Python\Python333\msvcr100.dll', Symbols loaded (source information stripped). > 'python.exe': Loaded 'C:\Windows\System32\imm32.dll' > 'python.exe': Loaded 'C:\Windows\System32\msctf.dll' > 'python.exe': Loaded 'C:\Windows\System32\nvinitx.dll' > 'python.exe': Loaded 'C:\Windows\System32\cryptsp.dll' > 'python.exe': Loaded 'C:\Windows\System32\rsaenh.dll' > 'python.exe': Loaded 'C:\Windows\System32\cryptbase.dll' > The thread 'Win64 Thread' (0x2aa8) has exited with code 0 (0x0). > Microsoft Visual Studio C Runtime Library has detected a fatal error in python.exe. > > Press Break to debug the program or Continue to terminate the program.