W
writser
hey all,
For my study I'm writing a simple threaded webcrawler and I am trying
to do this in python. But somehow, using threads causes IDLE to crash
on Windows XP (with the latest python distribution 2.5.1). Even a
simple example such as this:
import thread, time
def doSomething():
print "something"
for i in range(2):
thread.start_new(doSomething, ())
causes IDLE to freeze when I type it in the interpreter. Using the
python command line everything works just fine. Using IDLE on Debian
linux also does not cause anything to crash. What am I overlooking?
regards, Writser Cleveringa
For my study I'm writing a simple threaded webcrawler and I am trying
to do this in python. But somehow, using threads causes IDLE to crash
on Windows XP (with the latest python distribution 2.5.1). Even a
simple example such as this:
import thread, time
def doSomething():
print "something"
for i in range(2):
thread.start_new(doSomething, ())
causes IDLE to freeze when I type it in the interpreter. Using the
python command line everything works just fine. Using IDLE on Debian
linux also does not cause anything to crash. What am I overlooking?
regards, Writser Cleveringa