Martin Panter added the comment:

Remy, is this the same problem described in Issue 25994? There a close() method 
(like on generators) and/or context manager support is proposed for the 
scandir() iterator. Perhaps we can keep this issue open for adding a warning to 
the documentation, and the other issue can be for improving the API in 3.6.

----------
assignee:  -> docs@python
components: +Documentation
dependencies: +File descriptor leaks in os.scandir()
nosy: +docs@python, martin.panter

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26111>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to