[issue42178] failed pickle hangs python on exit in CMD.exe only

2020-11-16 Thread Eryk Sun
Eryk Sun added the comment: Steve or Zach, please review PR 23290, submitted by Teugea Ioan-Teodor. It modifies the startup sequence for worker processes by creating the child process with a suspended thread and pickling process_obj to a BytesIO instance before resuming the thread and writin

[issue42178] failed pickle hangs python on exit in CMD.exe only

2020-11-16 Thread Eryk Sun
Change by Eryk Sun : -- nosy: +davin, pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue42178] failed pickle hangs python on exit in CMD.exe only

2020-11-14 Thread Teugea Ioan-Teodor
Change by Teugea Ioan-Teodor : -- keywords: +patch nosy: +John-Ted nosy_count: 6.0 -> 7.0 pull_requests: +22181 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23290 ___ Python tracker

[issue42178] failed pickle hangs python on exit in CMD.exe only

2020-10-27 Thread Eryk Sun
Eryk Sun added the comment: Due to the exception raised when trying to pickle main..dummy in popen_spawn_win32.Popen(), the main process may have already exited by the time the spawned worker calls WinAPI OpenProcess in spawn.spawn_main(). I suppose the reduction of prep_data and process_obj

[issue42178] failed pickle hangs python on exit in CMD.exe only

2020-10-27 Thread Charles McMarrow
New submission from Charles McMarrow : This bug only happens for me in Windows 10 when using cmd.exe. This bug does not happen IDLE. It sometimes happens in PowerShell. I ran mp_hang.py with 3.9.0 hangs on cmd/powershell 3.8.6 hangs on cmd 3.8.5 hangs on cmd/powershell Microsoft Windows [Ver