python / python/cpython

Changelog: document `Py_AtExit` requirement change that the interpreter must be initialized

Open
#118,016 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

docs
Dominant language
Python
Stars
77.2k
Forks
35.9k
PR merge metrics
PR metrics pending

Description

Documentation

Python 3.12 has commit 2ad2bd8b14505ee92600e7988379cfac63086dab which now requires that the interpreter be initialized before calling Py_AtExit. Please add a retroactive note to the changelog for 3.12 and a new one to 3.13 (for those who don't go back to read the 3.12 changelogs) about this new change.

The API docs might also want to mention it too.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading commit 2ad2bd8b14505ee92600e7988379cfac63086dab and locate the Python 3.12 and 3.13 changelog sections. Document that the interpreter must be initialized before calling Py_AtExit in both changelogs, then check the API documentation to determine whether the same requirement should be noted there.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.