passing threading.Thread() and function object

Christopher J. Bottaro cjbottaro at alumni.cs.utexas.edu
Wed Oct 13 14:36:39 EDT 2004


Cliff Wells wrote:

> You are *calling* self.somefunc in your instantiation.  You need to pass
> a reference to the method instead.

Whoops, indeed I am.  Ouch, that was stupid mistake.  Thanks for the help!

Egads, now that you've pointed it out, I can't believe missed the
documentation for "target" arg in the threading.Thread documentation.

Thanks a bunch.




More information about the Python-list mailing list