Ethan Furman added the comment:

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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue24020>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to