You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a646c99
Browse filesBrowse the repository at this point in the historyBrowse files
Stable ABI for Free-Threaded Builds should typically
523
523
be selected in a build tool (such as, for example, Setuptools, meson-python,
524
524
scikit-build-core, or Maturin).
525
-
At the time of writing, these tools did **not** support ``abi3t``.
525
+
At the time of writing, these tools do **not** support ``abi3t``.
526
526
If this is the case for your tool, compile for ``cp315t`` separately.
527
527
If not using a build tool -- or when writing such a tool -- you can select
528
528
``abi3t`` by setting the macro :c:macro:`!Py_TARGET_ABI3T` as discussed
@@ -1103,6 +1103,16 @@ contextlib
1103
1103
(Contributed by Alex Grönholm & Gregory P. Smith in :gh:`125862`.)
1104
1104
1105
1105
1106
+
ctypes
1107
+
------
1108
+
1109
+
* Change the :py:attr:`~ctypes._SimpleCData._type_` of
1110
+
:class:`~ctypes.c_float_complex`, :class:`~ctypes.c_double_complex` and
1111
+
:class:`~ctypes.c_longdouble_complex` from ``F``, ``D`` and ``G`` to ``Zf``,
1112
+
``Zd`` and ``Zg`` for compatibility with NumPy.
1113
+
(Contributed by Victor Stinner in :gh:`148675`.)
1114
+
1115
+
1106
1116
dataclasses
1107
1117
-----------
1108
1118
@@ -1229,7 +1239,7 @@ importlib.metadata
1229
1239
------------------
1230
1240
1231
1241
* Previously, when accessing a distribution metadata directory not
1232
-
containing a metadata file, ``metadata()`` and ``Distribution.metadata()``
1242
+
containing a metadata file, ``metadata()`` and ``Distribution.metadata``
1233
1243
would return an empty ``PackageMetadata`` object as if the file
1234
1244
was present but empty. Now, a ``MetadataNotFound`` exception is raised.
1235
1245
See `importlib_metadata#493 <https://github.com/python/importlib_metadata/issues/493>`_
@@ -1333,6 +1343,14 @@ os.path
1333
1343
(Contributed by Petr Viktorin for :cve:`2025-4517`.)
1334
1344
1335
1345
1346
+
pathlib
1347
+
-------
1348
+
1349
+
* :meth:`pathlib.Path.mkdir` now has a *parent_mode* parameter that allows
1350
+
specifying the mode for intermediate directories when ``parents=True``.
1351
+
(Contributed by Gregory P. Smith in :gh:`86533`.)
1352
+
1353
+
1336
1354
pdb
1337
1355
---
1338
1356
@@ -1447,7 +1465,7 @@ ssl
1447
1465
supports "External PSKs" in TLSv1.3, as described in :rfc:`9258`.
1448
1466
(Contributed by Will Childs-Klein in :gh:`133624`.)
1449
1467
1450
-
* Added new methods for managing groups used for SSL key agreement
1468
+
* Added new methods for managing groups used for SSL key agreement:
1451
1469
1452
1470
* :meth:`ssl.SSLContext.set_groups` sets the groups allowed for doing
1453
1471
key agreement, extending the previous
@@ -1726,6 +1744,8 @@ typing
1726
1744
as it was incorrectly inferred at runtime before.
1727
1745
(Contributed by Nikita Sobolev in :gh:`137191`.)
1728
1746
1747
+
.. _whatsnew315-disjoint-base:
1748
+
1729
1749
* :pep:`800`: Add :deco:`typing.disjoint_base`, a new decorator marking a class
1730
1750
as a disjoint base. This is an advanced feature primarily intended to allow
1731
1751
type checkers to faithfully reflect the runtime semantics of types defined
@@ -1854,8 +1874,8 @@ xml
1854
1874
whether a string can be used as an element or attribute name in XML.
1855
1875
(Contributed by Serhiy Storchaka in :gh:`139489`.)
1856
1876
1857
-
* Add the :func:`xml.is_valid_text` function, which allows to check
1858
-
whether a string can be used in the XML document.
1877
+
* Add the :func:`xml.is_valid_text` function to check
1878
+
whether a string can be used in an XML document.
1859
1879
(Contributed by Serhiy Storchaka in :gh:`139489`.)
1860
1880
1861
1881
@@ -1989,8 +2009,8 @@ is now performed. This means when the JIT compiler detects that certain user
1989
2009
code results in constants, the code can be simplified by the JIT.
1990
2010
(Contributed by Ken Jin and Savannah Ostrowski in :gh:`132732`.)
1991
2011
1992
-
:term:`Reference count`\ s are avoided whenever it is safe to do so. This generally
1993
-
reduces the cost of most operations in Python.
2012
+
:term:`Reference counts <reference count>` are avoided whenever it is safe to
2013
+
do so. This generally reduces the cost of most operations in Python.
1994
2014
(Contributed by Ken Jin, Donghee Na, Zheao Li, Hai Zhu, Savannah Ostrowski,
1995
2015
Reiden Ong, Noam Cohen, Tomas Roun, PuQing, Cajetan Rodrigues, and Sacul in :gh:`134584`.)
1996
2016
@@ -2058,12 +2078,6 @@ ctypes
2058
2078
which has been deprecated since Python 3.13.
2059
2079
(Contributed by Bénédikt Tran in :gh:`133866`.)
2060
2080
2061
-
* Change the :py:attr:`~ctypes._SimpleCData._type_` of
2062
-
:class:`~ctypes.c_float_complex`, :class:`~ctypes.c_double_complex` and
2063
-
:class:`~ctypes.c_longdouble_complex` from ``F``, ``D`` and ``G`` to ``Zf``,
2064
-
``Zd`` and ``Zg`` for compatibility with numpy.
2065
-
(Contributed by Victor Stinner in :gh:`148675`.)
2066
-
2067
2081
2068
2082
datetime
2069
2083
--------
@@ -2103,10 +2117,6 @@ importlib.resources
2103
2117
pathlib
2104
2118
-------
2105
2119
2106
-
* :meth:`pathlib.Path.mkdir` now has a *parent_mode* parameter that allows
2107
-
specifying the mode for intermediate directories when ``parents=True``.
0 commit comments