Skip to content

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented May 9, 2022

  • 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 bedevere-bot added docs Documentation in the Doc dir awaiting core review labels May 9, 2022
@vstinner
Copy link
Member Author

vstinner commented May 9, 2022

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

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.

@pablogsal
Copy link
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 vstinner merged commit 11a608d into python:main May 9, 2022
@vstinner vstinner deleted the whatsnew312 branch May 9, 2022 12:26
@vstinner
Copy link
Member Author

vstinner commented May 9, 2022

The template is within the release scripts.

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

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