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

Christian Heimes report at bugs.python.org
Mon Jul 22 20:43:29 CEST 2013


Christian Heimes added the comment:

May I suggest a simpler patch that closes the fd sooner?

----------
Added file: http://bugs.python.org/file31017/listdir_fd.patch

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


More information about the Python-bugs-list mailing list