Christian Heimes <[EMAIL PROTECTED]> added the comment: Good catch, Ben!
The generic setattr/getattr functions don't work as expected when the base class doesn't provide a __dict__. They are setting the attributes in the subclass' __dict__ instead of the thread local dict. My patch fixes the behavior. However it might be a better idea to make the threadlocal class non subclass-able. Added file: http://bugs.python.org/file11297/threading_local2.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