STINNER Victor <victor.stin...@gmail.com> added the comment: Serhiy: > Do you going to backport also -X showrefcount?
I see -X as a Python3 only thing. If I have to choose, I would prefer to add a new environment variable, since it's more in the "Python2 style". Iryna: > That is how it is bypassed in Fedora Py2 builds currently. I am attaching the > patch we use. Oh, nice to see that we get the same idea: opt-in environment variable. I'm unhappy with the variable name: PYTHONDUMPCOUNTS seems too generic IMHO :-( I prefer "PYTHONSHOWALLOCCOUNT" since it's closer to Python 3 "-X showalloccount" option, and "alloc" mentions that they are counters on allocations. Not just "random" counters. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue31692> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com