[pyar] threading.local..

david weil tenuki en gmail.com
Mie Jul 13 14:13:51 ART 2011


Es esto un bug?

>>> t1=threading.local()
>>> t1.x = 5
>>> t2=threading.local()
>>> t2.x
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'thread._local' object has no attribute 'x'
>>>


Si no es un bug, no entiendo como debería funcionar o para que se usa...

saludosss..
dave

ps: python 2.7.1.4.. activestate..
-- 
 There is no dark side of the moon really. Matter of fact it's all dark.



More information about the pyar mailing list