Message84543
It is still valid:
>>> class MyLocal(local):
... def __init__(self, *args, **kwargs):
... self.args = args
... self.kwargs = kwargs
...
>>> MyLocal(1)
This works when local is thread._local (from thread import _local as
local), but fails when imported from _threading_local (from
_threading_local import local)
See attached patch for the test case (and the fix of course) |
|
Date |
User |
Action |
Args |
2009-03-30 13:20:12 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, tony_nelson, ajaksu2 |
2009-03-30 13:20:12 | amaury.forgeotdarc | set | messageid: <1238419212.15.0.517755179286.issue1522237@psf.upfronthosting.co.za> |
2009-03-30 13:20:10 | amaury.forgeotdarc | link | issue1522237 messages |
2009-03-30 13:20:10 | amaury.forgeotdarc | create | |
|