Author serhiy.storchaka
Recipients benhoyt, serhiy.storchaka, vstinner
Date 2016-01-03.06:31:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Yes, it's what I mean. Add methods close, __enter__ and __exit__ to the iterator. The scandir iterator is not just iterator, it is like file object.

And as in file object, we perhaps have to emit a ResourceWarning in the destructor if close() or __exit__() were not called.
Date User Action Args
2016-01-03 06:31:51serhiy.storchakasetrecipients: + serhiy.storchaka, vstinner, benhoyt
2016-01-03 06:31:51serhiy.storchakasetmessageid: <>
2016-01-03 06:31:51serhiy.storchakalinkissue25994 messages
2016-01-03 06:31:50serhiy.storchakacreate