Larry Hastings added the comment: Attached is a new patch for trunk, removing the #undef HAVE_FDOPENDIR debug scaffolding, and rearranging the lines of error handling so close doesn't clear the errno before we use it.
By cracky, while most days I do enjoy the exacting pedantry of the Python community, it sure can slow the process down sometimes. ---------- Added file: http://bugs.python.org/file31020/larry.listdir.fd.leakage.bug.3.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