[issue19757] _tracemalloc.c: compiler warning with gil_state

2013-12-03 Thread Roundup Robot
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

[issue19757] _tracemalloc.c: compiler warning with gil_state

2013-11-27 Thread STINNER Victor
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,

[issue19757] _tracemalloc.c: compiler warning with gil_state

2013-11-24 Thread STINNER Victor
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

[issue19757] _tracemalloc.c: compiler warning with gil_state

2013-11-24 Thread koobs
Changes by koobs koobs.free...@gmail.com: -- nosy: +koobs ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19757 ___ ___ Python-bugs-list mailing