[Python-checkins] cpython (3.5): whatsnew/3.5: Reorder stuff (issue #25082).
yury.selivanov
python-checkins at python.org
Sun Sep 13 14:29:43 CEST 2015
https://hg.python.org/cpython/rev/59f7007fbf3c
changeset: 97975:59f7007fbf3c
branch: 3.5
parent: 97973:334a988f744d
user: Yury Selivanov <yselivanov at sprymix.com>
date: Sun Sep 13 08:29:19 2015 -0400
summary:
whatsnew/3.5: Reorder stuff (issue #25082).
files:
Doc/whatsnew/3.5.rst | 182 +++++++++++++++---------------
1 files changed, 91 insertions(+), 91 deletions(-)
diff --git a/Doc/whatsnew/3.5.rst b/Doc/whatsnew/3.5.rst
--- a/Doc/whatsnew/3.5.rst
+++ b/Doc/whatsnew/3.5.rst
@@ -118,21 +118,21 @@
:ref:`support for Memory BIO <whatsnew-sslmemorybio>`, which decouples SSL
protocol handling from network IO.
+* The new :func:`os.scandir` function provides a
+ :ref:`better and significantly faster way <whatsnew-pep-471>`
+ of directory traversal.
+
+* :func:`functools.lru_cache` has been largely
+ :ref:`reimplemented in C <whatsnew-lrucache>`, yielding much better
+ performance.
+
+* The new :func:`subprocess.run` function provides a
+ :ref:`streamlined way to run subprocesses <whatsnew-subprocess>`.
+
* :mod:`traceback` module has been significantly
:ref:`enhanced <whatsnew-traceback>` for improved
performance and developer convenience.
-* The new :func:`os.scandir` function provides a
- :ref:`better and significantly faster way <whatsnew-pep-471>`
- of directory traversal.
-
-* :func:`functools.lru_cache` has been largely
- :ref:`reimplemented in C <whatsnew-lrucache>`, yielding much better
- performance.
-
-* The new :func:`subprocess.run` function provides a
- :ref:`streamlined way to run subprocesses <whatsnew-subprocess>`.
-
Security improvements:
@@ -806,13 +806,6 @@
protocol. (Contributed by Berker Peksag in :issue:`20289`.)
-csv
----
-
-The :meth:`~csv.csvwriter.writerow` method now supports arbitrary iterables,
-not just sequences. (Contributed by Serhiy Storchaka in :issue:`23171`.)
-
-
cmath
-----
@@ -959,6 +952,13 @@
(Contributed by Berker Peksag in :issue:`22389`.)
+csv
+---
+
+The :meth:`~csv.csvwriter.writerow` method now supports arbitrary iterables,
+not just sequences. (Contributed by Serhiy Storchaka in :issue:`23171`.)
+
+
curses
------
@@ -1636,6 +1636,29 @@
:issue:`18615`.)
+socket
+------
+
+Functions with timeouts now use a monotonic clock, instead of a system clock.
+(Contributed by Victor Stinner in :issue:`22043`.)
+
+A new :meth:`socket.sendfile <socket.socket.sendfile>` method allows to
+send a file over a socket by using the high-performance :func:`os.sendfile`
+function on UNIX resulting in uploads being from 2 to 3 times faster than when
+using plain :meth:`socket.send <socket.socket.send>`.
+(Contributed by Giampaolo Rodola' in :issue:`17552`.)
+
+The :meth:`socket.sendall <socket.socket.sendall>` method no longer resets the
+socket timeout every time bytes are received or sent. The socket timeout is
+now the maximum total duration to send all data.
+(Contributed by Victor Stinner in :issue:`23853`.)
+
+The *backlog* argument of the :meth:`socket.listen <socket.socket.listen>`
+method is now optional. By default it is set to
+:data:`SOMAXCONN <socket.SOMAXCONN>` or to ``128`` whichever is less.
+(Contributed by Charles-François Natali in :issue:`21455`.)
+
+
ssl
---
@@ -1717,29 +1740,6 @@
(Contributed by Antoine Pitrou in :issue:`23239`.)
-socket
-------
-
-Functions with timeouts now use a monotonic clock, instead of a system clock.
-(Contributed by Victor Stinner in :issue:`22043`.)
-
-A new :meth:`socket.sendfile <socket.socket.sendfile>` method allows to
-send a file over a socket by using the high-performance :func:`os.sendfile`
-function on UNIX resulting in uploads being from 2 to 3 times faster than when
-using plain :meth:`socket.send <socket.socket.send>`.
-(Contributed by Giampaolo Rodola' in :issue:`17552`.)
-
-The :meth:`socket.sendall <socket.socket.sendall>` method no longer resets the
-socket timeout every time bytes are received or sent. The socket timeout is
-now the maximum total duration to send all data.
-(Contributed by Victor Stinner in :issue:`23853`.)
-
-The *backlog* argument of the :meth:`socket.listen <socket.socket.listen>`
-method is now optional. By default it is set to
-:data:`SOMAXCONN <socket.SOMAXCONN>` or to ``128`` whichever is less.
-(Contributed by Charles-François Natali in :issue:`21455`.)
-
-
sqlite3
-------
@@ -1890,6 +1890,56 @@
(Contributed by Yury Selivanov in :issue:`24400`.)
+unicodedata
+-----------
+
+The :mod:`unicodedata` module now uses data from `Unicode 8.0.0
+<http://unicode.org/versions/Unicode8.0.0/>`_.
+
+
+unittest
+--------
+
+The :meth:`TestLoader.loadTestsFromModule <unittest.TestLoader.loadTestsFromModule>`
+method now accepts a keyword-only argument *pattern* which is passed to
+``load_tests`` as the third argument. Found packages are now checked for
+``load_tests`` regardless of whether their path matches *pattern*, because it
+is impossible for a package name to match the default pattern.
+(Contributed by Robert Collins and Barry A. Warsaw in :issue:`16662`.)
+
+Unittest discovery errors now are exposed in
+:data:`TestLoader.errors <unittest.TestLoader.errors>` attribute of the
+:class:`~unittest.TestLoader` instance.
+(Contributed by Robert Collins in :issue:`19746`.)
+
+A new command line option ``--locals`` to show local variables in
+tracebacks. (Contributed by Robert Collins in :issue:`22936`.)
+
+
+unittest.mock
+-------------
+
+The :class:`~unittest.mock.Mock` has the following improvements:
+
+* Class constructor has a new *unsafe* parameter, which causes mock
+ objects to raise :exc:`AttributeError` on attribute names starting
+ with ``"assert"``.
+ (Contributed by Kushal Das in :issue:`21238`.)
+
+* A new :meth:`Mock.assert_not_called <unittest.mock.Mock.assert_not_called>`
+ method to check if the mock object was called.
+ (Contributed by Kushal Das in :issue:`21262`.)
+
+The :class:`~unittest.mock.MagicMock` class now supports :meth:`__truediv__`,
+:meth:`__divmod__` and :meth:`__matmul__` operators.
+(Contributed by Johannes Baiter in :issue:`20968`, and Håkan Lövdahl
+in :issue:`23581` and :issue:`23568`.)
+
+It is no longer necessary to explicitly pass ``create=True`` to the
+:func:`~unittest.mock.patch` function when patching builtin names.
+(Contributed by Kushal Das in :issue:`17660`.)
+
+
urllib
------
@@ -1917,56 +1967,6 @@
(Contributed by Demian Brecht and Senthil Kumaran in :issue:`22118`.)
-unicodedata
------------
-
-The :mod:`unicodedata` module now uses data from `Unicode 8.0.0
-<http://unicode.org/versions/Unicode8.0.0/>`_.
-
-
-unittest
---------
-
-The :meth:`TestLoader.loadTestsFromModule <unittest.TestLoader.loadTestsFromModule>`
-method now accepts a keyword-only argument *pattern* which is passed to
-``load_tests`` as the third argument. Found packages are now checked for
-``load_tests`` regardless of whether their path matches *pattern*, because it
-is impossible for a package name to match the default pattern.
-(Contributed by Robert Collins and Barry A. Warsaw in :issue:`16662`.)
-
-Unittest discovery errors now are exposed in
-:data:`TestLoader.errors <unittest.TestLoader.errors>` attribute of the
-:class:`~unittest.TestLoader` instance.
-(Contributed by Robert Collins in :issue:`19746`.)
-
-A new command line option ``--locals`` to show local variables in
-tracebacks. (Contributed by Robert Collins in :issue:`22936`.)
-
-
-unittest.mock
--------------
-
-The :class:`~unittest.mock.Mock` has the following improvements:
-
-* Class constructor has a new *unsafe* parameter, which causes mock
- objects to raise :exc:`AttributeError` on attribute names starting
- with ``"assert"``.
- (Contributed by Kushal Das in :issue:`21238`.)
-
-* A new :meth:`Mock.assert_not_called <unittest.mock.Mock.assert_not_called>`
- method to check if the mock object was called.
- (Contributed by Kushal Das in :issue:`21262`.)
-
-The :class:`~unittest.mock.MagicMock` class now supports :meth:`__truediv__`,
-:meth:`__divmod__` and :meth:`__matmul__` operators.
-(Contributed by Johannes Baiter in :issue:`20968`, and Håkan Lövdahl
-in :issue:`23581` and :issue:`23568`.)
-
-It is no longer necessary to explicitly pass ``create=True`` to the
-:func:`~unittest.mock.patch` function when patching builtin names.
-(Contributed by Kushal Das in :issue:`17660`.)
-
-
wsgiref
-------
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list