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

Unified Diff: Doc/whatsnew/3.5.rst

Issue 25994: File descriptor leaks in os.scandir()
Patch Set: Created 4 years, 1 month 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.5.rst Mon Feb 08 17:57:22 2016 +0200
+++ b/Doc/whatsnew/3.5.rst Mon Feb 08 19:40:34 2016 +0200
@@ -1435,8 +1435,8 @@ to perform matrix multiplication.
os
--
-The new :func:`~os.scandir` function returning an iterator of
-:class:`~os.DirEntry` objects has been added. If possible, :func:`~os.scandir`
+The new :class:`~os.scandir` function returning an iterator of
Martin Panter 2016/02/09 02:45:01 function or class?
+:class:`~os.DirEntry` objects has been added. If possible, :class:`~os.scandir`
extracts file attributes while scanning a directory, removing the need to
perform subsequent system calls to determine file type or attributes, which may
significantly improve performance. (Contributed by Ben Hoyt with the help

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