This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients benhoyt, gvanrossum, larry, serhiy.storchaka, vstinner
Date 2016-01-14.22:26:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1452810411.67.0.49151511301.issue25995@psf.upfronthosting.co.za>
In-reply-to
Content
Yes, OSError, MemoryError and KeyboardInterrupt can be raised during iterating scandir object or calling is_dir() or is_symlink() methods of the result. They stop iterating and left file descriptor open. If close file descriptor on error during iteration (issue26117), patch 1 becomes more safe, because it minimizes the lifetime of opened descriptor.
History
Date User Action Args
2016-01-14 22:26:51serhiy.storchakasetrecipients: + serhiy.storchaka, gvanrossum, vstinner, larry, benhoyt
2016-01-14 22:26:51serhiy.storchakasetmessageid: <1452810411.67.0.49151511301.issue25995@psf.upfronthosting.co.za>
2016-01-14 22:26:51serhiy.storchakalinkissue25995 messages
2016-01-14 22:26:51serhiy.storchakacreate