Larry Hastings <la...@hastings.org> added the comment:

Nevermind, I'm an idiot.  fdopendir doesn't support dir_fd as a separate path, 
so listdir can't support it either.

There's an unwritten property of the os module on a POSIX system: all the 
functions are essentially-atomic.  This is useful and should not be broken 
lightly.

I'll make a patch clarifying the behavior of listdir.

----------

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

Reply via email to