Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(28121)

Unified Diff: Misc/NEWS

Issue 25994: File descriptor leaks in os.scandir()
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
--- a/Misc/NEWS Wed Feb 10 10:31:43 2016 +0200
+++ b/Misc/NEWS Wed Feb 10 11:02:33 2016 +0200
@@ -182,6 +182,9 @@ Library
- Issue #26243: Support keyword arguments to zlib.compress(). Patch by Aviv
Palivoda.
+- Issue #25994: Added the close() method and the support of the context manager
+ protocol for the os.scandir() class.
+
- Issue #26117: The os.scandir() iterator now closes file descriptor not only
when the iteration is finished, but when it was failed with error.
« Lib/test/test_os.py ('K') | « Lib/test/test_os.py ('k') | Modules/posixmodule.c » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+