threaded code in IDLE

Matt Leslie matthewleslie at hotmail.com
Mon Feb 2 16:09:01 EST 2004


This code:

**************
import thread

def doprint(i):
     print i

for i in range(0,100):
     thread.start_new_thread(doprint,(i,))
*************

Will run fine from the windows command line, but consistently
crashes IDLE on windows (it locks up with no error message)

Is this a known bug?

Is there a workaround?

Thanks,
	Matt



More information about the Python-list mailing list