[New-bugs-announce] [issue46370] Move runtime static init to its own header file.

Eric Snow report at bugs.python.org
Thu Jan 13 17:19:28 EST 2022


New submission from Eric Snow <ericsnowcurrently at gmail.com>:

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.

----------
assignee: eric.snow
components: Interpreter Core
messages: 410529
nosy: eric.snow
priority: normal
severity: normal
stage: needs patch
status: open
title: Move runtime static init to its own header file.
versions: Python 3.11

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46370>
_______________________________________


More information about the New-bugs-announce mailing list