currentThread(): no current thread for ... using threading and Events?

Jonathan Giddy jon at rdt.monash.edu.au
Wed Jun 23 20:08:28 EDT 1999


srn at fn.com.au (Stephen Norris) writes:

>I'm seeing 

>currentThread(): no current thread for XXXXX

>I'm also using thread style threads. Is this what's going wrong? Does this
>confuse things? The lib ref doesn't say it will, but it seems possible,
>especially now that I look at the code. Hmmm....

Yes, this is the reason you are getting the messages.  If you can tolerate 
the messages, there's no problem.  It doesn't cause any harm.  If you can't
tolerate the messages, you could set sys.stdout to somewhere else, or you
could remove the line that prints this message from threading.py

Jon.




More information about the Python-list mailing list