]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fix a compiler warning in _xxsubinterpretermodule.c (#103245)
authorT. Wouters <thomas@python.org>
Tue, 4 Apr 2023 14:51:30 +0000 (16:51 +0200)
committerGitHub <noreply@github.com>
Tue, 4 Apr 2023 14:51:30 +0000 (16:51 +0200)
commit89e6a3446184925ee7f17cd0d948c7784a88b8d7
treea92f8e9ad8d2027090c47b1d0e395b8017479c0f
parentc00dcf0e381a090f7e905f887a98bbf63c88af5a
Fix a compiler warning in _xxsubinterpretermodule.c (#103245)

Fix a (correct) warning about potential uses of uninitialized memory in
_xxsubinterpreter. Unlike newly allocated PyObject structs or global
structs, stack-allocated structs are not initialised, and a few places in
the code expect the _sharedexception struct data to be either NULL or
initialised.
Modules/_xxsubinterpretersmodule.c