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

Unified Diff: Doc/whatsnew/3.6.rst

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/Doc/whatsnew/3.6.rst Mon Feb 08 17:57:22 2016 +0200
+++ b/Doc/whatsnew/3.6.rst Mon Feb 08 19:40:34 2016 +0200
@@ -104,6 +104,14 @@ directives ``%G``, ``%u`` and ``%V``.
(Contributed by Ashley Anderson in :issue:`12006`.)
+os
+--
+
+A new :meth:`scandir.close() <os.scandir.close>` method allows explicit
+closing a :class:`~os.scandir` instance. The :class:`~os.scandir` class
Martin Panter 2016/02/09 02:45:01 explicitly closing
storchaka 2016/02/09 16:11:45 Done.
+now supports the :term:`context manager` protocol.
+(Contributed by Serhiy Storchaka in :issue:`25994`.)
+
pickle
------

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