[issue36328] tstate may be used uninitialized in Py_NewInterpreter
Stéphane Wirtel
report at bugs.python.org
Sun Mar 17 13:40:54 EDT 2019
New submission from Stéphane Wirtel <stephane at wirtel.be>:
I get this warning when I compile python without the --with-pydebug flag.
Python/pylifecycle.c: In function 'Py_NewInterpreter':
Python/pylifecycle.c:1442:12: warning: 'tstate' may be used uninitialized in this function [-Wmaybe-uninitialized]
return tstate;
^~~~~~
Does not occur with python 3.7
----------
messages: 338134
nosy: matrixise, serhiy.storchaka
priority: normal
severity: normal
status: open
title: tstate may be used uninitialized in Py_NewInterpreter
versions: Python 3.8
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36328>
_______________________________________
More information about the Python-bugs-list
mailing list