Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment:
With the patch, subclasses of threading.local seem to have an empty
__dict__:
import threading
class MyLocal(threading.local):
pass
l = MyLocal()
l.x = 2
l.__dict__ # returns {}
Maybe __dict__ should be special-cased in local_getattro()?
_______________________________________
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1868>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com