Antoine Pitrou <pit...@free.fr> added the comment:

You don't have to use any staticmethod here (actually, staticmethod is an 
anti-pattern in Python). Just write:

class Foo():
   def __init__(self):
       self.thread = Thread(target=self.runner)
       self.thread.start()

   def runner(self):
      # blah, blah, blah

----------
nosy: +pitrou
resolution:  -> works for me
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11073>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to