Skip to content

Commit

Permalink
GH-123299: Move ctypes What's New entry to 3.14 (#123300)
Browse files Browse the repository at this point in the history
  • Loading branch information
AA-Turner authored Aug 25, 2024
1 parent 52caaef commit 9b37498
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 14 deletions.
14 changes: 0 additions & 14 deletions Doc/whatsnew/3.13.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
---

Expand Down
24 changes: 24 additions & 0 deletions Doc/whatsnew/3.14.rst
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ New Modules
Improved Modules
================


ast
---

Expand All @@ -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
---

Expand All @@ -126,13 +142,15 @@ dis

(Contributed by Bénédikt Tran in :gh:`123165`.)


fractions
---------

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
----

Expand All @@ -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
--------

Expand All @@ -153,6 +172,7 @@ operator
to ``obj is not None``.
(Contributed by Raymond Hettinger and Nico Mexis in :gh:`115808`.)


os
--

Expand All @@ -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
-------

Expand All @@ -172,6 +193,7 @@ pathlib

(Contributed by Barney Gale in :gh:`73991`.)


pdb
---

Expand All @@ -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
--------

Expand Down

0 comments on commit 9b37498

Please sign in to comment.