[issue38118] Valgrind warnings when running tokenize.py

2019-09-13 Thread STINNER Victor
STINNER Victor added the comment: I reopen the issue, the PyUnicode_Decode warning is not fixed yet. vstinner@apu$ echo|PYTHONMALLOC=malloc valgrind ./python Lib/tokenize.py ==6832== Memcheck, a memory error detector ==6832== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==68

[issue38118] Valgrind warnings when running tokenize.py

2019-09-12 Thread Benjamin Peterson
Change by Benjamin Peterson : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> off-by-one error in PyState_AddModule ___ Python tracker _

[issue38118] Valgrind warnings when running tokenize.py

2019-09-12 Thread STINNER Victor
STINNER Victor added the comment: ==30746== Conditional jump or move depends on uninitialised value(s) ==30746==at 0x4DC8FF: PyState_AddModule (pystate.c:707) Oh, this issue looks like a duplicate of bpo-38124 which has just been fixed by: New changeset 39de95b746c990e6a2fe9af5fad01747f58

[issue38118] Valgrind warnings when running tokenize.py

2019-09-11 Thread STINNER Victor
New submission from STINNER Victor : Running tokenize.py in Valgrind emits 2 warnings: $ ./configure --with-valgrind $ make $ echo|PYTHONMALLOC=malloc valgrind ./python Lib/tokenize.py (A) ==30746== Conditional jump or move depends on uninitialised value(s) ==30746==at 0x4A01F7: PyUnicode