]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-46008: Return void from _PyEval_InitState(). (gh-29970)
authorEric Snow <ericsnowcurrently@gmail.com>
Tue, 7 Dec 2021 21:02:17 +0000 (14:02 -0700)
committerGitHub <noreply@github.com>
Tue, 7 Dec 2021 21:02:17 +0000 (14:02 -0700)
commit8262c96bcc1841188866c1b022d9087e89639d98
tree7f57ca54cf571b95c5fe175fdc7456bbba28b667
parent91b59a3fcdcb93d74bb89cce536f11d2990f655d
bpo-46008: Return void from _PyEval_InitState(). (gh-29970)

This falls into the category of keep-allocation-and-initialization separate. It also allows us to use _PyEval_InitState() safely in functions that return void.

https://bugs.python.org/issue46008
Include/internal/pycore_ceval.h
Python/ceval.c
Python/pystate.c