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 <rep...@bugs.python.org> <http://bugs.python.org/issue17899> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com