Skip to content

GH-109975: Copyedit 3.13 What's New: Release Highlights #122958

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 4 commits into from
Aug 13, 2024

Conversation

AA-Turner
Copy link
Member

@AA-Turner AA-Turner commented Aug 12, 2024

A copy-editing pass for release highlights. I'm slowly working my way through What's New, next will be a more detailed pass of the PEP-sized new features.

Summary of changes:

  • Add expected release date
  • Expand and update the overview section, linking to other sections of What's New
  • Refer to PEP 703 as free threaded rather than dropping the GIL
  • Note improved UX features (colour, error messages) in release highlights
  • Note PEP 594 (dead batteries) in release highlights
  • Add link to porting guidance to release highlights
  • Sort interpreter improvements by PEP number (but keep pyrepl first, as it is highly visible), and merge "Free-threading:" into the interpreter improvements section
  • Note data model changes
  • Highlight a few stdlib improvements
  • Highlight security improvements
  • Highlight C-API improvements
  • Phrase typing features in the present tense
  • Note wasm32 changes in platform support
  • Add non-module removals
  • Note the new dbm.sqlite3 module

A


📚 Documentation preview 📚: https://cpython-previews--122958.org.readthedocs.build/en/122958/whatsnew/3.13.html#summary-release-highlights

@AA-Turner AA-Turner added docs Documentation in the Doc dir skip news needs backport to 3.13 bugs and security fixes labels Aug 12, 2024
@AA-Turner AA-Turner requested review from hugovk and Yhg1s August 12, 2024 19:33
Comment on lines 154 to 160
C API improvements:

* The :c:data:`Py_mod_gil` slot is now used to indicate that an extension module
supports running with the :term:`GIL` disabled.
* The :doc:`PyTime C API </c-api/time>` has been added,
providing access to system clocks.
* :c:type:`PyMutex` is a new lightweight mutex that occupies a single byte.
Copy link
Member Author

Choose a reason for hiding this comment

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

@vstinner / @serhiy-storchaka -- is there anything you want to highlight particularly in terms of C-API changes for the release highlights section of What's New? These were my suggestions but very happy to change them.

A

Copy link
Member

Choose a reason for hiding this comment

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

Nothing particular, but entries in the "C API Changes" section should be reordered. First new functions, then changes in existing functions. Functions with same prefix (e.g. PyDict_) or similar purpose should be mentioned next to one other.

You can highlight adding groups of functions with similar effect: for example adding functions that return strong references rather than borrowed references or adding functions that return different codes for error and the absent item (without raising an exception in the latter case).

Copy link
Member

@hugovk hugovk left a comment

Choose a reason for hiding this comment

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

Thank you!

AA-Turner and others added 2 commits August 13, 2024 14:08
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
@AA-Turner AA-Turner merged commit db6f5e1 into python:main Aug 13, 2024
25 checks passed
@miss-islington-app
Copy link

Thanks @AA-Turner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

@AA-Turner
Copy link
Member Author

Thanks!

A

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Aug 13, 2024
…GH-122958)

(cherry picked from commit db6f5e1)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
@AA-Turner AA-Turner deleted the docs/whatsnew/release-highlights branch August 13, 2024 14:31
@bedevere-app
Copy link

bedevere-app bot commented Aug 13, 2024

GH-122971 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Aug 13, 2024
AA-Turner added a commit that referenced this pull request Aug 13, 2024
…2958) (#122971)

GH-109975: Copyedit 3.13 What's New: Release Highlights (GH-122958)
(cherry picked from commit db6f5e1)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
blhsing pushed a commit to blhsing/cpython that referenced this pull request Aug 22, 2024
…#122958)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
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 news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants