Interesting Thread Gotcha

Bjoern Schliessmann usenet-mail-0306.20.chr0n0ss at spamgourmet.com
Wed Jan 16 09:10:45 EST 2008


Hendrik van Rooyen wrote:
> Absolutely! - well spotted!

This is no threading problem at all; not even a syntax problem. If
you don't know exactly what start_new_thread and kbd_driver
functions do it's impossible to tell if your code does what is
intended.

> It would have been nice, however, to have gotten something like:
> 
> TypeError - This routine needs a tuple.
> 
> instead of the silent in line calling of the routine in question,
> while failing actually to start a new thread.

Exactly which part of the code should give you this warning?

> Is it worth the trouble of learning how to submit a bug report?

For your problem not, IMHO, as a bug report for it will be closed
quickly.

Regards,


Björn

-- 
BOFH excuse #330:

quantum decoherence




More information about the Python-list mailing list