GH-123299: Move ctypes What's New entry to 3.14 (#123300)

This commit is contained in:
Adam Turner 2024-08-25 01:41:44 +01:00 committed by GitHub
parent 52caaef6d0
commit 9b3749849e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 24 additions and 14 deletions

View File

@ -792,20 +792,6 @@ copy
(Contributed by Serhiy Storchaka in :gh:`108751`.)
ctypes
------
* The layout of :ref:`bit fields <ctypes-bit-fields-in-structures-unions>`
in :class:`~ctypes.Structure` and :class:`~ctypes.Union`
now matches platform defaults (GCC/Clang or MVSC) more closely.
In particular, fields no longer overlap.
(Contributed by Matthias Görgens in :gh:`97702`.)
* The :attr:`.Structure._layout_` class attribute can now be set
to help match a non-default ABI.
(Contributed by Petr Viktorin in :gh:`97702`.)
dbm
---

View File

@ -100,6 +100,7 @@ New Modules
Improved Modules
================
ast
---
@ -110,6 +111,21 @@ ast
(Contributed by Bénédikt Tran in :gh:`121141`.)
ctypes
------
* The layout of :ref:`bit fields <ctypes-bit-fields-in-structures-unions>`
in :class:`~ctypes.Structure` and :class:`~ctypes.Union`
now matches platform defaults (GCC/Clang or MVSC) more closely.
In particular, fields no longer overlap.
(Contributed by Matthias Görgens in :gh:`97702`.)
* The :attr:`.Structure._layout_` class attribute can now be set
to help match a non-default ABI.
(Contributed by Petr Viktorin in :gh:`97702`.)
dis
---
@ -126,6 +142,7 @@ dis
(Contributed by Bénédikt Tran in :gh:`123165`.)
fractions
---------
@ -133,6 +150,7 @@ Added support for converting any objects that have the
:meth:`!as_integer_ratio` method to a :class:`~fractions.Fraction`.
(Contributed by Serhiy Storchaka in :gh:`82017`.)
json
----
@ -144,6 +162,7 @@ Enable :mod:`json` module to work as a script using the :option:`-m` switch: ``p
See the :ref:`JSON command-line interface <json-commandline>` documentation.
(Contributed by Trey Hunner in :gh:`122873`.)
operator
--------
@ -153,6 +172,7 @@ operator
to ``obj is not None``.
(Contributed by Raymond Hettinger and Nico Mexis in :gh:`115808`.)
os
--
@ -161,6 +181,7 @@ os
by :func:`os.unsetenv`, or made outside Python in the same process.
(Contributed by Victor Stinner in :gh:`120057`.)
pathlib
-------
@ -172,6 +193,7 @@ pathlib
(Contributed by Barney Gale in :gh:`73991`.)
pdb
---
@ -182,12 +204,14 @@ pdb
:pdbcmd:`commands` are preserved across hard-coded breakpoints.
(Contributed by Tian Gao in :gh:`121450`.)
pickle
------
* Set the default protocol version on the :mod:`pickle` module to 5.
For more details, please see :ref:`pickle protocols <pickle-protocols>`.
symtable
--------