@@ -118,10 +118,6 @@ Significant improvements in standard library:
118118 :ref: `support for Memory BIO <whatsnew-sslmemorybio >`, which decouples SSL
119119 protocol handling from network IO.
120120
121- * :mod: `traceback ` module has been significantly
122- :ref: `enhanced <whatsnew-traceback >` for improved
123- performance and developer convenience.
124-
125121* The new :func: `os.scandir ` function provides a
126122 :ref: `better and significantly faster way <whatsnew-pep-471 >`
127123 of directory traversal.
@@ -133,6 +129,10 @@ Significant improvements in standard library:
133129* The new :func: `subprocess.run ` function provides a
134130 :ref: `streamlined way to run subprocesses <whatsnew-subprocess >`.
135131
132+ * :mod: `traceback ` module has been significantly
133+ :ref: `enhanced <whatsnew-traceback >` for improved
134+ performance and developer convenience.
135+
136136
137137Security improvements:
138138
@@ -806,13 +806,6 @@ The :class:`~cgi.FieldStorage` class now supports the :term:`context manager`
806806protocol. (Contributed by Berker Peksag in :issue: `20289 `.)
807807
808808
809- csv
810- ---
811-
812- The :meth: `~csv.csvwriter.writerow ` method now supports arbitrary iterables,
813- not just sequences. (Contributed by Serhiy Storchaka in :issue: `23171 `.)
814-
815-
816809cmath
817810-----
818811
@@ -959,6 +952,13 @@ don't provide any options to redirect it::
959952(Contributed by Berker Peksag in :issue: `22389 `.)
960953
961954
955+ csv
956+ ---
957+
958+ The :meth: `~csv.csvwriter.writerow ` method now supports arbitrary iterables,
959+ not just sequences. (Contributed by Serhiy Storchaka in :issue: `23171 `.)
960+
961+
962962curses
963963------
964964
@@ -1636,6 +1636,29 @@ a :func:`~collections.namedtuple`. (Contributed by Claudiu Popa in
16361636:issue: `18615 `.)
16371637
16381638
1639+ socket
1640+ ------
1641+
1642+ Functions with timeouts now use a monotonic clock, instead of a system clock.
1643+ (Contributed by Victor Stinner in :issue: `22043 `.)
1644+
1645+ A new :meth: `socket.sendfile <socket.socket.sendfile> ` method allows to
1646+ send a file over a socket by using the high-performance :func: `os.sendfile `
1647+ function on UNIX resulting in uploads being from 2 to 3 times faster than when
1648+ using plain :meth: `socket.send <socket.socket.send> `.
1649+ (Contributed by Giampaolo Rodola' in :issue: `17552 `.)
1650+
1651+ The :meth: `socket.sendall <socket.socket.sendall> ` method no longer resets the
1652+ socket timeout every time bytes are received or sent. The socket timeout is
1653+ now the maximum total duration to send all data.
1654+ (Contributed by Victor Stinner in :issue: `23853 `.)
1655+
1656+ The *backlog * argument of the :meth: `socket.listen <socket.socket.listen> `
1657+ method is now optional. By default it is set to
1658+ :data: `SOMAXCONN <socket.SOMAXCONN> ` or to ``128 `` whichever is less.
1659+ (Contributed by Charles-François Natali in :issue: `21455 `.)
1660+
1661+
16391662ssl
16401663---
16411664
@@ -1717,29 +1740,6 @@ The :func:`~ssl.match_hostname` function now supports matching of IP addresses.
17171740(Contributed by Antoine Pitrou in :issue: `23239 `.)
17181741
17191742
1720- socket
1721- ------
1722-
1723- Functions with timeouts now use a monotonic clock, instead of a system clock.
1724- (Contributed by Victor Stinner in :issue: `22043 `.)
1725-
1726- A new :meth: `socket.sendfile <socket.socket.sendfile> ` method allows to
1727- send a file over a socket by using the high-performance :func: `os.sendfile `
1728- function on UNIX resulting in uploads being from 2 to 3 times faster than when
1729- using plain :meth: `socket.send <socket.socket.send> `.
1730- (Contributed by Giampaolo Rodola' in :issue: `17552 `.)
1731-
1732- The :meth: `socket.sendall <socket.socket.sendall> ` method no longer resets the
1733- socket timeout every time bytes are received or sent. The socket timeout is
1734- now the maximum total duration to send all data.
1735- (Contributed by Victor Stinner in :issue: `23853 `.)
1736-
1737- The *backlog * argument of the :meth: `socket.listen <socket.socket.listen> `
1738- method is now optional. By default it is set to
1739- :data: `SOMAXCONN <socket.SOMAXCONN> ` or to ``128 `` whichever is less.
1740- (Contributed by Charles-François Natali in :issue: `21455 `.)
1741-
1742-
17431743sqlite3
17441744-------
17451745
@@ -1890,33 +1890,6 @@ created by :keyword:`async def` functions.
18901890(Contributed by Yury Selivanov in :issue: `24400 `.)
18911891
18921892
1893- urllib
1894- ------
1895-
1896- A new
1897- :class: `request.HTTPPasswordMgrWithPriorAuth <urllib.request.HTTPPasswordMgrWithPriorAuth> `
1898- class allows HTTP Basic Authentication credentials to be managed so as to
1899- eliminate unnecessary ``401 `` response handling, or to unconditionally send
1900- credentials on the first request in order to communicate with servers that
1901- return a ``404 `` response instead of a ``401 `` if the ``Authorization `` header
1902- is not sent. (Contributed by Matej Cepl in :issue: `19494 ` and Akshit Khurana in
1903- :issue: `7159 `.)
1904-
1905- A new *quote_via * argument for the
1906- :func: `parse.urlencode <urllib.parse.urlencode> `
1907- function provides a way to control the encoding of query parts if needed.
1908- (Contributed by Samwyse and Arnon Yaari in :issue: `13866 `.)
1909-
1910- The :func: `request.urlopen <urllib.request.urlopen> ` function accepts an
1911- :class: `ssl.SSLContext ` object as a *context * argument, which will be used for
1912- the HTTPS connection. (Contributed by Alex Gaynor in :issue: `22366 `.)
1913-
1914- The :func: `parse.urljoin <urllib.parse.urljoin> ` was updated to use the
1915- :rfc: `3986 ` semantics for the resolution of relative URLs, rather than
1916- :rfc: `1808 ` and :rfc: `2396 `.
1917- (Contributed by Demian Brecht and Senthil Kumaran in :issue: `22118 `.)
1918-
1919-
19201893unicodedata
19211894-----------
19221895
@@ -1967,6 +1940,33 @@ It is no longer necessary to explicitly pass ``create=True`` to the
19671940(Contributed by Kushal Das in :issue: `17660 `.)
19681941
19691942
1943+ urllib
1944+ ------
1945+
1946+ A new
1947+ :class: `request.HTTPPasswordMgrWithPriorAuth <urllib.request.HTTPPasswordMgrWithPriorAuth> `
1948+ class allows HTTP Basic Authentication credentials to be managed so as to
1949+ eliminate unnecessary ``401 `` response handling, or to unconditionally send
1950+ credentials on the first request in order to communicate with servers that
1951+ return a ``404 `` response instead of a ``401 `` if the ``Authorization `` header
1952+ is not sent. (Contributed by Matej Cepl in :issue: `19494 ` and Akshit Khurana in
1953+ :issue: `7159 `.)
1954+
1955+ A new *quote_via * argument for the
1956+ :func: `parse.urlencode <urllib.parse.urlencode> `
1957+ function provides a way to control the encoding of query parts if needed.
1958+ (Contributed by Samwyse and Arnon Yaari in :issue: `13866 `.)
1959+
1960+ The :func: `request.urlopen <urllib.request.urlopen> ` function accepts an
1961+ :class: `ssl.SSLContext ` object as a *context * argument, which will be used for
1962+ the HTTPS connection. (Contributed by Alex Gaynor in :issue: `22366 `.)
1963+
1964+ The :func: `parse.urljoin <urllib.parse.urljoin> ` was updated to use the
1965+ :rfc: `3986 ` semantics for the resolution of relative URLs, rather than
1966+ :rfc: `1808 ` and :rfc: `2396 `.
1967+ (Contributed by Demian Brecht and Senthil Kumaran in :issue: `22118 `.)
1968+
1969+
19701970wsgiref
19711971-------
19721972
0 commit comments