[issue13517] readdir() in os.listdir not threadsafe on OSX 10.6.8

Thouis (Ray) Jones report at bugs.python.org
Thu Dec 1 21:56:51 CET 2011


Thouis (Ray) Jones <thouis at gmail.com> added the comment:

Here is the script I use to detect the failure.
% python filefinder.py /PATH/TO/LARGE/DIRECTORY/TREE

(note that I was working over samba with an 8ish-level deep directory with around 250000 files).

Compare its final output in the FOUND column with 
% find /PATH/TO/LARGE/DIRECTORY/TREE | wc -l

----------
Added file: http://bugs.python.org/file23833/filefinder.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13517>
_______________________________________


More information about the Python-bugs-list mailing list