[issue17899] os.listdir() leaks FDs if invoked on FD pointing to a non-directory

Larry Hastings report at bugs.python.org
Mon Jun 10 04:24:33 CEST 2013


Larry Hastings added the comment:

Second rev incorporating a suggestion from the ever-present Serhiy.  Also, for what it's worth, I walked through this with the debugger when using os.listdir(0) and it worked fine.

----------
Added file: http://bugs.python.org/file30520/larry.listdir.fd.leakage.bug.2.patch

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


More information about the Python-bugs-list mailing list