[docs] [issue26111] On Windows, os.scandir will keep a handle on the directory until the iterator is exhausted

Martin Panter report at bugs.python.org
Thu Jan 14 17:22:09 EST 2016

Martin Panter added the comment:

Can you explain how it is different? The way I see it, both problems are about the scandir() iterator holding an open reference (file descriptor or handle) to a directory/folder, when the iterator was not exhausted, but the caller no longer needs it.


Python tracker <report at bugs.python.org>

More information about the docs mailing list