STINNER Victor <vstin...@redhat.com> added the comment:
Oh wait, only PyMemMallocDebugTests fails: class PyMemMallocDebugTests(PyMemDebugTests): PYTHONMALLOC = 'malloc_debug' Logs: [ 2863s] test_pyobject_is_freed_free (test.test_capi.PyMemDebugTests) ... ok [ 2863s] test_pyobject_is_freed_free (test.test_capi.PyMemDefaultTests) ... skipped 'need Py_DEBUG' [ 2863s] test_pyobject_is_freed_free (test.test_capi.PyMemMallocDebugTests) ... FAIL [ 2863s] test_pyobject_is_freed_free (test.test_capi.PyMemPymallocDebugTests) ... ok So the correct line to reproduce the bug should be: $ LD_LIBRARY_PATH=$PWD PYTHONMALLOC=malloc_debug ./python is_freed.py; echo $? 0 ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue37169> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com