This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author christian.heimes
Recipients amaury.forgeotdarc, christian.heimes, gregory.p.smith, pfein, tamino
Date 2008-08-28.21:09:17
SpamBayes Score 2.6336423e-07
Marked as misclassified No
Message-id <1219957760.57.0.341752378597.issue1868@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2008-08-28 21:09:20christian.heimessetrecipients: + christian.heimes, gregory.p.smith, amaury.forgeotdarc, pfein, tamino
2008-08-28 21:09:20christian.heimessetmessageid: <1219957760.57.0.341752378597.issue1868@psf.upfronthosting.co.za>
2008-08-28 21:09:19christian.heimeslinkissue1868 messages
2008-08-28 21:09:19christian.heimescreate