Roundup Robot added the comment:
New changeset 194f74044537 by Victor Stinner in branch 'default':
Close #19757: Cleanup tracemalloc, move
http://hg.python.org/cpython/rev/194f74044537
--
nosy: +python-dev
resolution: - fixed
stage: - committed/rejected
status: open - closed
STINNER Victor added the comment:
Hum, Clang is not kind enough to understand that gil_state is not used when
uninitialized.
Well, I always hesitated to refactor the code. So here is a cleanup which moves
PyGILState_Ensure/PyGILState_Release to the caller. It duplicates a few lines
of code,
New submission from STINNER Victor:
Clang complains that gil_state might be used uninitialized in
_tracemalloc.c:488 and 533.
--
messages: 204254
nosy: christian.heimes, haypo
priority: normal
severity: normal
status: open
title: _tracemalloc.c: compiler warning with gil_state
Changes by koobs koobs.free...@gmail.com:
--
nosy: +koobs
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19757
___
___
Python-bugs-list mailing