This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Move runtime static init to its own header file.
Type: Stage: resolved
Components: Interpreter Core Versions: Python 3.11
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: eric.snow Nosy List: eric.snow
Priority: normal Keywords: patch

Created on 2022-01-13 22:19 by eric.snow, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 30587 merged eric.snow, 2022-01-13 22:23
Messages (2)
msg410529 - (view) Author: Eric Snow (eric.snow) * (Python committer) Date: 2022-01-13 22:19
The static initializer for `_PyRuntime` is currently defined in Include/internal/pycore_runtime.h.  However, it is only needed by Python/pylifecycle.c (and Python/pystate.c for an optimization) and should only be used there.  (Also, the initializer is quite large.)  So I'm planning on moving it to it's own internal header file.
msg410530 - (view) Author: Eric Snow (eric.snow) * (Python committer) Date: 2022-01-13 22:54
New changeset bc02eac9d2cb36faffc5027b7ce09e6dd0922a7f by Eric Snow in branch 'main':
bpo-46370: Move the static initializer for _PyRuntime to its own header file. (gh-30587)
https://github.com/python/cpython/commit/bc02eac9d2cb36faffc5027b7ce09e6dd0922a7f
History
Date User Action Args
2022-04-11 14:59:54adminsetgithub: 90528
2022-01-13 22:55:08eric.snowsetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2022-01-13 22:54:43eric.snowsetmessages: + msg410530
2022-01-13 22:23:17eric.snowsetkeywords: + patch
stage: needs patch -> patch review
pull_requests: + pull_request28785
2022-01-13 22:19:28eric.snowcreate