` explicitly.
@@ -1207,8 +1207,8 @@ All other code will work just fine.
(Contributed by Mariusz Felisiak in :gh:`91602`.)
-:mod:`ssl`
-----------
+ssl
+---
* The :func:`~ssl.create_default_context` API now includes
:data:`~ssl.VERIFY_X509_PARTIAL_CHAIN` and :data:`~ssl.VERIFY_X509_STRICT`
@@ -1231,8 +1231,8 @@ All other code will work just fine.
(Contributed by William Woodruff in :gh:`112389`.)
-:mod:`statistics`
------------------
+statistics
+----------
* Add :func:`~statistics.kde` for kernel density estimation.
This makes it possible to estimate a continuous probability density function
@@ -1246,8 +1246,8 @@ All other code will work just fine.
.. _whatsnew313-subprocess:
-:mod:`subprocess`
------------------
+subprocess
+----------
* The :mod:`subprocess` module now uses the :func:`~os.posix_spawn` function in
more situations.
@@ -1268,16 +1268,16 @@ All other code will work just fine.
(Contributed by Jakub Kulik in :gh:`113117`.)
-:mod:`sys`
-----------
+sys
+---
* Add the :func:`~sys._is_interned` function to test if a string was interned.
This function is not guaranteed to exist in all implementations of Python.
(Contributed by Serhiy Storchaka in :gh:`78573`.)
-:mod:`tempfile`
----------------
+tempfile
+--------
* On Windows, the default mode ``0o700`` used by :func:`tempfile.mkdtemp` now
limits access to the new directory due to changes to :func:`os.mkdir`.
@@ -1285,8 +1285,8 @@ All other code will work just fine.
(Contributed by Steve Dower in :gh:`118486`.)
-:mod:`time`
------------
+time
+----
* On Windows, :func:`~time.monotonic` now uses the
``QueryPerformanceCounter()`` clock for a resolution of 1 microsecond,
@@ -1301,8 +1301,8 @@ All other code will work just fine.
(Contributed by Victor Stinner in :gh:`63207`.)
-:mod:`tkinter`
---------------
+tkinter
+-------
* Add :mod:`tkinter` widget methods:
:meth:`!tk_busy_hold`, :meth:`!tk_busy_configure`,
@@ -1352,8 +1352,8 @@ All other code will work just fine.
(Contributed by Serhiy Storchaka in :gh:`118271`.)
-:mod:`traceback`
-----------------
+traceback
+---------
* Add the :attr:`~traceback.TracebackException.exc_type_str` attribute
to :class:`~traceback.TracebackException`,
@@ -1370,8 +1370,8 @@ All other code will work just fine.
(Contributed by Irit Katriel in :gh:`105292`.)
-:mod:`types`
-------------
+types
+-----
* :class:`~types.SimpleNamespace` can now take a single positional argument
to initialise the namespace's arguments.
@@ -1379,8 +1379,8 @@ All other code will work just fine.
(Contributed by Serhiy Storchaka in :gh:`108191`.)
-:mod:`typing`
--------------
+typing
+------
* :pep:`705`: Add :data:`~typing.ReadOnly`, a special typing construct
to mark a :class:`~typing.TypedDict` item as read-only for type checkers.
@@ -1405,8 +1405,8 @@ All other code will work just fine.
(Contributed by Mehdi Drissi in :gh:`89547`.)
-:mod:`unicodedata`
-------------------
+unicodedata
+-----------
* Update the Unicode database to `version 15.1.0`__.
(Contributed by James Gerity in :gh:`109559`.)
@@ -1414,8 +1414,8 @@ All other code will work just fine.
__ https://www.unicode.org/versions/Unicode15.1.0/
-:mod:`venv`
------------
+venv
+----
* Add support for creating source control management (SCM) ignore files
in a virtual environment's directory.
@@ -1427,8 +1427,8 @@ All other code will work just fine.
(Contributed by Brett Cannon in :gh:`108125`.)
-:mod:`warnings`
----------------
+warnings
+--------
* :pep:`702`: The new :func:`warnings.deprecated` decorator provides a way to
communicate deprecations to a :term:`static type checker`
@@ -1438,8 +1438,8 @@ All other code will work just fine.
(Contributed by Jelle Zijlstra in :gh:`104003`.)
-:mod:`xml`
-----------
+xml
+---
* Allow controlling Expat >=2.6.0 reparse deferral (:cve:`2023-52425`)
by adding five new methods:
@@ -1457,8 +1457,8 @@ All other code will work just fine.
(Contributed by Serhiy Storchaka in :gh:`69893`.)
-:mod:`zipimport`
-----------------
+zipimport
+---------
* Add support for ZIP64_ format files.
Everybody loves huge data, right?
From 5963f326cd32a4f555d24d90ce1aecec145c09d3 Mon Sep 17 00:00:00 2001
From: Adam Turner <9087854+aa-turner@users.noreply.github.com>
Date: Fri, 23 Aug 2024 21:44:59 +0100
Subject: [PATCH 10/11] Fix configparser positioning
---
Doc/whatsnew/3.13.rst | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/Doc/whatsnew/3.13.rst b/Doc/whatsnew/3.13.rst
index 21283885367556..1b82011c340777 100644
--- a/Doc/whatsnew/3.13.rst
+++ b/Doc/whatsnew/3.13.rst
@@ -754,6 +754,14 @@ compileall
(Contributed by Victor Stinner in :gh:`109649`.)
+configparser
+------------
+
+* The :class:`configparser.ConfigParser` now accepts unnamed sections
+ before named ones if configured to do so.
+ (Contributed by Pedro Sousa Lacerda in :gh:`66449`.)
+
+
concurrent.futures
------------------
@@ -1614,10 +1622,6 @@ PEP 594: dead batteries (and other module removals)
configparser
------------
-* The :class:`configparser.ConfigParser` now accepts unnamed sections
- before named ones if configured to do so.
- (Contributed by Pedro Sousa Lacerda in :gh:`66449`.)
-
* Remove the undocumented :class:`!configparser.LegacyInterpolation` class,
deprecated in the docstring since Python 3.2,
and with a deprecation warning since Python 3.11.
From 35ad25b038c80dcafb683063e820e0c7bdde83df Mon Sep 17 00:00:00 2001
From: Adam Turner <9087854+aa-turner@users.noreply.github.com>
Date: Sat, 24 Aug 2024 14:11:16 +0100
Subject: [PATCH 11/11] Properly sort the configparser entry
---
Doc/whatsnew/3.13.rst | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/Doc/whatsnew/3.13.rst b/Doc/whatsnew/3.13.rst
index 1b82011c340777..476ae39e453b87 100644
--- a/Doc/whatsnew/3.13.rst
+++ b/Doc/whatsnew/3.13.rst
@@ -754,14 +754,6 @@ compileall
(Contributed by Victor Stinner in :gh:`109649`.)
-configparser
-------------
-
-* The :class:`configparser.ConfigParser` now accepts unnamed sections
- before named ones if configured to do so.
- (Contributed by Pedro Sousa Lacerda in :gh:`66449`.)
-
-
concurrent.futures
------------------
@@ -770,6 +762,15 @@ concurrent.futures
(Contributed by Victor Stinner in :gh:`109649`.)
+configparser
+------------
+
+* :class:`~configparser.ConfigParser` now has support for unnamed sections,
+ which allows for top-level key-value pairs.
+ This can be enabled with the new *allow_unnamed_section* parameter.
+ (Contributed by Pedro Sousa Lacerda in :gh:`66449`.)
+
+
copy
----
pFad - Phonifier reborn
Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy