From: Serhiy Storchaka Date: Mon, 8 Feb 2016 15:57:22 +0000 (+0200) Subject: Issue #26117: The os.scandir() iterator now closes file descriptor not only X-Git-Tag: v3.6.0a1~637 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fd625c39d0ffaf048acbbe3a5dade16bef483e1c;p=python Issue #26117: The os.scandir() iterator now closes file descriptor not only when the iteration is finished, but when it was failed with error. --- fd625c39d0ffaf048acbbe3a5dade16bef483e1c diff --cc Misc/NEWS index e6590b5a46,66b8d36124..0c7d18ec29 --- a/Misc/NEWS +++ b/Misc/NEWS @@@ -170,9 -73,9 +170,12 @@@ Core and Builtin Library ------- + - Issue #26117: The os.scandir() iterator now closes file descriptor not only + when the iteration is finished, but when it was failed with error. + +- Issue #25949: __dict__ for an OrderedDict instance is now created only when + needed. + - Issue #25911: Restored support of bytes paths in os.walk() on Windows. - Issue #26045: Add UTF-8 suggestion to error message when posting a