[docs] [issue26111] On Windows, os.scandir will keep a handle on the directory until the iterator is exhausted
report at bugs.python.org
Thu Jan 14 16:54:30 EST 2016
Remy Roy added the comment:
This issue is not same as Issue 25994 but it is quite related. Some kind of close() method and/or context manager support could help here as well.
Python tracker <report at bugs.python.org>
More information about the docs