Message6197
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. |
|
Date |
User |
Action |
Args |
2010-10-22 03:12:42 | kellyc2702 | set | recipients:
+ kellyc2702 |
2010-10-22 03:12:42 | kellyc2702 | set | messageid: <1287717162.25.0.459895806598.issue1667@psf.upfronthosting.co.za> |
2010-10-22 03:12:42 | kellyc2702 | link | issue1667 messages |
2010-10-22 03:12:41 | kellyc2702 | create | |
|