Message6197

Author kellyc2702
Recipients kellyc2702
Date 2010-10-22.03:12:40
SpamBayes Score 4.510281e-13
Marked as misclassified No
Message-id <1287717162.25.0.459895806598.issue1667@psf.upfronthosting.co.za>
In-reply-to
Content
Attached test case passes on python, fails with exception on jython 2.5.2rc1:

Exception in thread Thread:Traceback (most recent call last):
  File "/opt/jython/jython2.5.2rc1/Lib/threading.py", line 179, in _Thread__bootstrap
    self.run()
  File "thread_local_test.py", line 16, in run
    self.stuff.stuff = self.name
TypeError: __init__() takes at least 2 arguments (1 given)

It doesn't have the exception if you remove the call to local.__init__(self) on line 5. So the args within PyLocal are getting reset to empty during that call.
History
Date User Action Args
2010-10-22 03:12:42kellyc2702setrecipients: + kellyc2702
2010-10-22 03:12:42kellyc2702setmessageid: <1287717162.25.0.459895806598.issue1667@psf.upfronthosting.co.za>
2010-10-22 03:12:42kellyc2702linkissue1667 messages
2010-10-22 03:12:41kellyc2702create