Skip to content

What's New in Python 3.12: move C API at the end #92555

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 1 commit into from
May 9, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 22 additions & 5 deletions Doc/whatsnew/3.12.rst
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,6 @@ Optimizations



Build and C API Changes
=======================

* :c:func:`PyFrame_BlockSetup` and :c:func:`PyFrame_BlockPop` have been removed.

Deprecated
==========

Expand All @@ -124,3 +119,25 @@ Changes in the Python API
The group name in bytes patterns and replacement strings can now only
contain ASCII letters and digits and underscore.
(Contributed by Serhiy Storchaka in :gh:`91760`.)


Build Changes
=============


C API Changes
=============

New Features
------------

Porting to Python 3.12
----------------------

Deprecated
----------

Removed
-------

* :c:func:`PyFrame_BlockSetup` and :c:func:`PyFrame_BlockPop` have been removed.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's probably enough to just list the names, since they are now under the "Removed" section.

Suggested change
* :c:func:`PyFrame_BlockSetup` and :c:func:`PyFrame_BlockPop` have been removed.
* :c:func:`PyFrame_BlockSetup` and :c:func:`PyFrame_BlockPop`.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I prefer to leave it as it is. See What's New in Python 3.11: https://docs.python.org/dev/whatsnew/3.11.html#id8

Also, this PR is only about moving items. Not rephrasing them.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ezio-melotti: Feel free to propose a follow-up PR if you want to rephase it ;-) Personally, I like to write sentences which can be read aloud.