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 ethan.furman
Recipients docs@python, eryksun, ethan.furman, rhettinger
Date 2015-04-21.15:44:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1429631093.8.0.165246986635.issue24020@psf.upfronthosting.co.za>
In-reply-to
Content
Raymond, okay, thanks.

Eryksun, I've written a FUSE file system (for $DAYJOB) and when I switched over to using threads I would occasionally experience errors such as 'thread.local object does not have attribute ...'; as soon as I found the SO answer and moved the call to 'threading.local()' to the global scope, the problem vanished.

To reliably detect the problem I started approximately 10 threads, each getting an os.listdir() 1,000 times of an area on the FUSE.
History
Date User Action Args
2015-04-21 15:44:53ethan.furmansetrecipients: + ethan.furman, rhettinger, docs@python, eryksun
2015-04-21 15:44:53ethan.furmansetmessageid: <1429631093.8.0.165246986635.issue24020@psf.upfronthosting.co.za>
2015-04-21 15:44:53ethan.furmanlinkissue24020 messages
2015-04-21 15:44:53ethan.furmancreate