running on windows xp
eclipse 3.2 + pydev 1.2.2 (just upgraded ;-)
debugging the attached script results in an explosion of threads after a while.
when suspending the debug-session I get the following in the console:
could not find thread 10958000
could not find thread 10958928
could not find thread 10644272
could not find thread 10645072
could not find thread 10644080
could not find thread 10642896
could not find thread 10644464
could not find thread 10645040
I don't know for if this is the pydev debugger, or python itself that does not clean up the threads.
If I run the program on the console and look at the amount of threads (probably only the running threads) in taskmanager, it is not growing.
If you think this is a bug in pydev or python, I'll file it as such.
# self start the thread
TASKS = 8
getters = 
for x in range(TASKS):
getter = Ping()
# wait for all the getters to finish
for getter in getters:
if __name__ == "__main__":
Hummm... it is probably a pydev problem. Could you report that as a bug in sf?
the script is attached in the bug (this seems not possible in the forum)