Author amaury.forgeotdarc
Recipients amaury.forgeotdarc, christian.heimes, gregory.p.smith, pfein, pitrou, tamino
Date 2008-09-02.12:55:37
SpamBayes Score 1.3502e-05
Marked as misclassified No
Message-id <1220360138.29.0.182615801808.issue1868@psf.upfronthosting.co.za>
In-reply-to
Content
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()?
History
Date User Action Args
2008-09-02 12:55:38amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, gregory.p.smith, pitrou, christian.heimes, pfein, tamino
2008-09-02 12:55:38amaury.forgeotdarcsetmessageid: <1220360138.29.0.182615801808.issue1868@psf.upfronthosting.co.za>
2008-09-02 12:55:37amaury.forgeotdarclinkissue1868 messages
2008-09-02 12:55:37amaury.forgeotdarccreate