[Pythonmac-SIG] threads in OSX IDLE

Jeff Senn senn@maya.com
Tue, 02 Jul 2002 12:14:43 -0400


I just built the Mac OS X python with frameworks & Tkinter out of CVS and
installed idle as tony suggests (http://tony.lownds.com/macosx/tkinter.html)

If I type the following into the resulting IDLE Python Shell window,
Python crashes:

--snip--
def foo(): 
  print "hello"

import thread
thread.start_new_thread(foo,())
thread.start_new_thread(foo,())
--snip--

...um... is it supposed to work?

-- 
-Jas