[issue36333] memory leaks detected with valgrind for python -V

2019-03-19 Thread STINNER Victor
STINNER Victor added the comment: "./python -V" no longer leaks, so I close the issue. See bpo-36356 for the follow-up. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue36333] memory leaks detected with valgrind for python -V

2019-03-19 Thread STINNER Victor
STINNER Victor added the comment: New changeset a712679a2befaacdc05f788d6ea50f72a561 by Victor Stinner in branch 'master': bpo-36333, bpo-36356: Fix _PyEval_FiniThreads() (GH-12432) https://github.com/python/cpython/commit/a712679a2befaacdc05f788d6ea50f72a561 -- ___

[issue36333] memory leaks detected with valgrind for python -V

2019-03-19 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +12386 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue36333] memory leaks detected with valgrind for python -V

2019-03-19 Thread STINNER Victor
STINNER Victor added the comment: New changeset 943395fab925a11ea90d078e771cdfc4443e8c34 by Victor Stinner (Stéphane Wirtel) in branch 'master': bpo-36333: Fix leak _PyRuntimeState_Fini (GH-12400) https://github.com/python/cpython/commit/943395fab925a11ea90d078e771cdfc4443e8c34 -- _

[issue36333] memory leaks detected with valgrind for python -V

2019-03-18 Thread STINNER Victor
STINNER Victor added the comment: New changeset c183444f7e2640b054956474d71aae6e8d31a543 by Victor Stinner in branch 'master': bpo-36301: Fix Py_Main() memory leaks (GH-12420) https://github.com/python/cpython/commit/c183444f7e2640b054956474d71aae6e8d31a543 -- _

[issue36333] memory leaks detected with valgrind for python -V

2019-03-18 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +12375 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue36333] memory leaks detected with valgrind for python -V

2019-03-18 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +12361 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue36333] memory leaks detected with valgrind for python -V

2019-03-18 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: I close the PR 12389 because it superseded by PR 12400 (only the fix for _PyRuntimeState_Fini). -- assignee: vstinner -> ___ Python tracker ___

[issue36333] memory leaks detected with valgrind for python -V

2019-03-18 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- assignee: -> vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue36333] memory leaks detected with valgrind for python -V

2019-03-18 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- pull_requests: +12355 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue36333] memory leaks detected with valgrind for python -V

2019-03-18 Thread STINNER Victor
STINNER Victor added the comment: I assign the issue to myself, since I'm currently working on the code: bpo-36301. -- assignee: -> vstinner ___ Python tracker ___ _

[issue36333] memory leaks detected with valgrind for python -V

2019-03-17 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: @vstinner I ping you because you are the main author for the new changes in the interpreter and the PyPreConfig part. -- nosy: +vstinner ___ Python tracker

[issue36333] memory leaks detected with valgrind for python -V

2019-03-17 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- versions: +Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue36333] memory leaks detected with valgrind for python -V

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

[issue36333] memory leaks detected with valgrind for python -V

2019-03-17 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: The report of valgrind with no leaks. -- Added file: https://bugs.python.org/file48214/valgrind-without-memory-leak.log ___ Python tracker __

[issue36333] memory leaks detected with valgrind for python -V

2019-03-17 Thread Stéphane Wirtel
New submission from Stéphane Wirtel : I have detected 3 memory leaks when I execute python -V with valgrind -> 162 bytes. The leaks do seem to be in pymain_init and in _PyPreConfig_ReadFromArgv (the string for the locale is not freed). Also _PyRuntimeState_Fini does not release the memory of