Antoine Pitrou <[email protected]> added the comment:
The original patch won't apply anymore, because of changes in the thread._local
implementation.
Instead, here is a new patch, which also adds tests for the __dict__ behaviour,
and two new private API functions: _PyObject_Generic{Get,Set}AttrWithDict.
These are the same as PyObject_Generic{Get,Set}Attr, except that it allows to
pass the instance dict instead of letting the function discover it.
----------
versions: -Python 2.6
Added file: http://bugs.python.org/file18603/threadlocal.patch
_______________________________________
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