[issue31692] [2.7] Test `test_huntrleaks()` of test_regrtest fails in debug build with COUNT_ALLOCS

Iryna Shcherbina report at bugs.python.org
Fri Oct 6 16:36:32 EDT 2017


Iryna Shcherbina <shcherbina.iryna at gmail.com> added the comment:

> I don't know if we can easily implement "-X showalloccount", since
> Python 2.7 doesn't have sys._xoptions. Maybe we could use a new
> environment variable instead: PYTHONSHOWALLOCCOUNT=1?


That is how it is bypassed in Fedora Py2 builds currently. I am attaching the patch we use.

----------
Added file: https://bugs.python.org/file47196/00125-less-verbose-COUNT_ALLOCS.patch

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31692>
_______________________________________


More information about the Python-bugs-list mailing list