[issue13757] os.fdlistdir() should not close the file descriptor given in argument
Ross Lagerwall
report at bugs.python.org
Tue Jan 10 20:00:28 CET 2012
Ross Lagerwall <rosslagerwall at gmail.com> added the comment:
The reason I made it like that was that it seemed "closer" to the fdopendir() function which steals the fd for internal use.
However, I agree that it makes more sense to dup() it.
Patch looks good.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13757>
_______________________________________
More information about the Python-bugs-list
mailing list