FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

What's New in Python 3.12: move C API at the end by vstinner · Pull Request #92555 · python/cpython · GitHub

/ cpython Public

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

Merged
vstinner merged 1 commit into
python:mainfrom
vstinner:whatsnew312
May 9, 2022
Merged

What's New in Python 3.12: move C API at the end#92555
vstinner merged 1 commit into
python:mainfrom
vstinner:whatsnew312

Conversation

vstinner commented May 9, 2022

Copy link
Copy Markdown
Member
  • Separate Build and C API changes in two sections
  • Add sub-sections to the C API changes

* Separate Build and C API changes in two sections
* Add sub-sections to the C API changes
bedevere-bot added docs Documentation in the Doc dir awaiting core review labels May 9, 2022

vstinner commented May 9, 2022

Copy link
Copy Markdown
Member Author

@pablogsal: How can I change the template used to create a new "What's New in Python 3.X" document when a new Python version is created?

PEP 101 says "Add a new whatsnew/3.x.rst file": ok, but what's the template? https://peps.python.org/pep-0101/

Comment thread Doc/whatsnew/3.12.rst
Removed
-------

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

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

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
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

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
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

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

Copy link
Copy Markdown
Member

@pablogsal: How can I change the template used to create a new "What's New in Python 3.X" document when a new Python version is created?

PEP 101 says "Add a new whatsnew/3.x.rst file": ok, but what's the template? https://peps.python.org/pep-0101/

The template is within the release scripts. Here:

https://github.com/python/release-tools/blob/60d0c216a8ad6b298bf6729033a3b674e0f89f8a/run_release.py#L47

vstinner merged commit 11a608d into python:main May 9, 2022
vstinner deleted the whatsnew312 branch May 9, 2022 12:26

vstinner commented May 9, 2022

Copy link
Copy Markdown
Member Author

The template is within the release scripts.

Oh thanks, I wrote a PR to update the template: python/release-tools#13

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip issue skip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL