Message258238
| 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:51 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, gvanrossum, vstinner, larry, benhoyt |
| 2016年01月14日 22:26:51 | serhiy.storchaka | set | messageid: <1452810411.67.0.49151511301.issue25995@psf.upfronthosting.co.za> |
| 2016年01月14日 22:26:51 | serhiy.storchaka | link | issue25995 messages |
| 2016年01月14日 22:26:51 | serhiy.storchaka | create |
|