[issue3115] os.listdir randomly fails on occasions when it shouldn't

2008-07-16 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Committed patch in #1608818 in r65037. -- nosy: +georg.brandl resolution: -> duplicate status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> __

[issue3115] os.listdir randomly fails on occasions when it shouldn't

2008-06-16 Thread philipspencer
philipspencer <[EMAIL PROTECTED]> added the comment: Yes, it is the same issue. Sorry I didn't see the previous report -- I didn't imagine an issue like this, with such a simple fix, could have been reported back in 2006 without the fix ever having been implemented, so I didn't bother searching b

[issue3115] os.listdir randomly fails on occasions when it shouldn't

2008-06-16 Thread Raghuram Devarakonda
Raghuram Devarakonda <[EMAIL PROTECTED]> added the comment: Isn't this similar to #1608818? -- nosy: +draghuram ___ Python tracker <[EMAIL PROTECTED]> ___ _

[issue3115] os.listdir randomly fails on occasions when it shouldn't

2008-06-15 Thread philipspencer
philipspencer <[EMAIL PROTECTED]> added the comment: I submitted the patch using the File: pathname box in the issue tracker editing window. I am doing this from home using an older version of mozilla; perhaps the tracker software doesn't work well with that version? I will try one more time. I

[issue3115] os.listdir randomly fails on occasions when it shouldn't

2008-06-15 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: You forgot the patch :-) -- nosy: +amaury.forgeotdarc ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue3115] os.listdir randomly fails on occasions when it shouldn't

2008-06-14 Thread philipspencer
New submission from philipspencer <[EMAIL PROTECTED]>: Python's os.listdir function has the following code in Modules/posixmodule.c: errno = 0 ... for (;;) { Py_BEGIN_ALLOW_THREADS ep = readdir(dirp); Py_END_ALLOW_THREADS if (ep == NULL)