[issue36328] tstate may be used uninitialized in Py_NewInterpreter

2019-03-18 Thread STINNER Victor
STINNER Victor added the comment: New changeset 9e06d2b865beb62e54a4da39eb191f9fb8385282 by Victor Stinner (Stéphane Wirtel) in branch 'master': bpo-36328: Fix compiler warning in Py_NewInterpreter() (GH-12381) https://github.com/python/cpython/commit/9e06d2b865beb62e54a4da39eb191f9fb8385282

[issue36328] tstate may be used uninitialized in Py_NewInterpreter

2019-03-18 Thread STINNER Victor
Change by STINNER Victor : -- components: +Interpreter Core resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue36328] tstate may be used uninitialized in Py_NewInterpreter

2019-03-17 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- keywords: +patch pull_requests: +12339 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-

[issue36328] tstate may be used uninitialized in Py_NewInterpreter

2019-03-17 Thread Stéphane Wirtel
New submission from Stéphane Wirtel : 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