Message263317
> I have two programs, they occasionally infinite hang.
Can you please try the faulthandler module to try to get a traceback of all Python threads?
I suggest to use the watchdog with a short timeout (ex: 60 seconds):
https://docs.python.org/dev/library/faulthandler.html#faulthandler.dump_traceback_later
> 1, print() function cause the infinite hang.
> 2, If it hangs, simply press ENTER key, it goes on without any problem.
Are you running your program in the Windows console (cmd.exe)? In IDLE? In PowerShell? |
|
Date |
User |
Action |
Args |
2016-04-13 09:32:13 | vstinner | set | recipients:
+ vstinner, paul.moore, tim.golden, jkloth, zach.ware, eryksun, steve.dower, malin |
2016-04-13 09:32:13 | vstinner | set | messageid: <1460539933.85.0.222340419812.issue26744@psf.upfronthosting.co.za> |
2016-04-13 09:32:13 | vstinner | link | issue26744 messages |
2016-04-13 09:32:13 | vstinner | create | |
|