10000 gh-109975: Make a rough editorial pass over What's New by Yhg1s · Pull Request #118711 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-109975: Make a rough editorial pass over What's New #118711

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
May 7, 2024
Merged
Prev Previous commit
Next Next commit
Restore an accidentally removed item, and reorder an overlooked misca…
…tegorised item.
  • Loading branch information
Yhg1s committed May 7, 2024
commit 9cd0b7fbaa1cfa4ff128fc8417257e0d42b53344
16 changes: 13 additions & 3 deletions Doc/whatsnew/3.13.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2151,9 +2151,15 @@ Changes in the Python API
returned by :meth:`zipfile.ZipFile.open` was changed from ``'r'`` to ``'rb'``.
(Contributed by Serhiy Storchaka in :gh:`115961`.)

* :c:func:`!PyCode_GetFirstFree` is an unstable API now and has been renamed
to :c:func:`PyUnstable_Code_GetFirstFree`.
(Contributed by Bogdan Romanyuk in :gh:`115781`.)
* Callbacks registered in the :mod:`tkinter` module now take arguments as
various Python objects (``int``, ``float``, ``bytes``, ``tuple``),
not just ``str``.
To restore the previous behavior set :mod:`!tkinter` module global
:data:`!wantobject` to ``1`` before creating the
:class:`!Tk` object or call the :meth:`!wantobject`
method of the :class:`!Tk` object with argument ``1``.
Calling it with argument ``2`` restores the current default behavior.
(Contributed by Serhiy Storchaka in :gh:`66410`.)


Changes in the C API
Expand Down Expand Up @@ -2225,6 +2231,10 @@ Changes in the C API
recommended in the documentation.
(Contributed by Serhiy Storchaka in :gh:`106672`.)

* :c:func:`!PyCode_GetFirstFree` is an unstable API now and has been renamed
to :c:func:`PyUnstable_Code_GetFirstFree`.
(Contributed by Bogdan Romanyuk in :gh:`115781`.)

Deprecated C APIs
-----------------

Expand Down
0