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

Side by Side Diff: Doc/whatsnew/3.5.rst

Issue 25994: File descriptor leaks in os.scandir()
Patch Set: Created 3 years, 8 months ago
Left:
Right:
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 unified diff | Download patch
OLDNEW
1 **************************** 1 ****************************
2 What's New In Python 3.5 2 What's New In Python 3.5
3 **************************** 3 ****************************
4 4
5 :Editors: Elvis Pranskevichus <elvis@magic.io>, Yury Selivanov <yury@magic.io> 5 :Editors: Elvis Pranskevichus <elvis@magic.io>, Yury Selivanov <yury@magic.io>
6 6
7 .. Rules for maintenance: 7 .. Rules for maintenance:
8 8
9 * Anyone can add text to this document. Do not spend very much time 9 * Anyone can add text to this document. Do not spend very much time
10 on the wording of your changes, because your text will probably 10 on the wording of your changes, because your text will probably
(...skipping 1417 matching lines...) Expand 10 before | Expand all | Expand 10 after
1428 (Contributed by Josh Rosenberg and Serhiy Storchaka in :issue:`22955`.) 1428 (Contributed by Josh Rosenberg and Serhiy Storchaka in :issue:`22955`.)
1429 1429
1430 New :func:`~operator.matmul` and :func:`~operator.imatmul` functions 1430 New :func:`~operator.matmul` and :func:`~operator.imatmul` functions
1431 to perform matrix multiplication. 1431 to perform matrix multiplication.
1432 (Contributed by Benjamin Peterson in :issue:`21176`.) 1432 (Contributed by Benjamin Peterson in :issue:`21176`.)
1433 1433
1434 1434
1435 os 1435 os
1436 -- 1436 --
1437 1437
1438 The new :func:`~os.scandir` function returning an iterator of 1438 The new :class:`~os.scandir` function returning an iterator of
Martin Panter 2016/02/09 02:45:01 function or class?
1439 :class:`~os.DirEntry` objects has been added. If possible, :func:`~os.scandir` 1439 :class:`~os.DirEntry` objects has been added. If possible, :class:`~os.scandir`
1440 extracts file attributes while scanning a directory, removing the need to 1440 extracts file attributes while scanning a directory, removing the need to
1441 perform subsequent system calls to determine file type or attributes, which may 1441 perform subsequent system calls to determine file type or attributes, which may
1442 significantly improve performance. (Contributed by Ben Hoyt with the help 1442 significantly improve performance. (Contributed by Ben Hoyt with the help
1443 of Victor Stinner in :issue:`22524`.) 1443 of Victor Stinner in :issue:`22524`.)
1444 1444
1445 On Windows, a new 1445 On Windows, a new
1446 :attr:`stat_result.st_file_attributes <os.stat_result.st_file_attributes>` 1446 :attr:`stat_result.st_file_attributes <os.stat_result.st_file_attributes>`
1447 attribute is now available. It corresponds to the ``dwFileAttributes`` member 1447 attribute is now available. It corresponds to the ``dwFileAttributes`` member
1448 of the ``BY_HANDLE_FILE_INFORMATION`` structure returned by 1448 of the ``BY_HANDLE_FILE_INFORMATION`` structure returned by
1449 ``GetFileInformationByHandle()``. (Contributed by Ben Hoyt in :issue:`21719`.) 1449 ``GetFileInformationByHandle()``. (Contributed by Ben Hoyt in :issue:`21719`.)
(...skipping 1036 matching lines...) Expand 10 before | Expand all | Expand 10 after
2486 introspection, a deprecation warning is now raised for builtin types without 2486 introspection, a deprecation warning is now raised for builtin types without
2487 the :attr:`__module__` attribute. This would be an AttributeError in 2487 the :attr:`__module__` attribute. This would be an AttributeError in
2488 the future. 2488 the future.
2489 (Contributed by Serhiy Storchaka in :issue:`20204`.) 2489 (Contributed by Serhiy Storchaka in :issue:`20204`.)
2490 2490
2491 * As part of the :pep:`492` implementation, the ``tp_reserved`` slot of 2491 * As part of the :pep:`492` implementation, the ``tp_reserved`` slot of
2492 :c:type:`PyTypeObject` was replaced with a 2492 :c:type:`PyTypeObject` was replaced with a
2493 :c:member:`tp_as_async` slot. Refer to :ref:`coro-objects` for 2493 :c:member:`tp_as_async` slot. Refer to :ref:`coro-objects` for
2494 new types, structures and functions. 2494 new types, structures and functions.
2495 2495
OLDNEW

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