[issue25994] File descriptor leaks in os.scandir()

Serhiy Storchaka report at bugs.python.org
Mon Feb 8 12:41:33 EST 2016


Serhiy Storchaka added the comment:

Proposed patch adds the close() methon and the support of the context manager protocol for the os.scandir class.

----------
keywords: +patch
stage:  -> patch review
versions:  -Python 3.5
Added file: http://bugs.python.org/file41857/scandir_close.patch

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


More information about the Python-bugs-list mailing list