[issue10909] thread hang, possibly related to print

Terry J. Reedy report at bugs.python.org
Fri Jan 21 23:34:51 CET 2011


Terry J. Reedy <tjreedy at udel.edu> added the comment:

What happens if you run your program without IDLE? 
(either with right-click and run or run from Command Prompt window?) 

I would not be surprised if your problems go away. IDLE runs a saved file in a separate pythonw process. Printing (or writing) to stdout requires sending output back to the IDLE process. I can imagine that doing that from 2 subthreads could lead to conflicts.

If the problems do go away, then we should probably close this as won't fix. IDLE is a development environment, not a production running environment

----------
nosy: +terry.reedy

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


More information about the Python-bugs-list mailing list