Author vstinner
Recipients benjamin.peterson, cstratak, ishcherb, serhiy.storchaka, vstinner
Date 2017-10-06.20:58:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1507323525.52.0.213398074469.issue31692@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2017-10-06 20:58:45vstinnersetrecipients: + vstinner, benjamin.peterson, serhiy.storchaka, cstratak, ishcherb
2017-10-06 20:58:45vstinnersetmessageid: <1507323525.52.0.213398074469.issue31692@psf.upfronthosting.co.za>
2017-10-06 20:58:45vstinnerlinkissue31692 messages
2017-10-06 20:58:45vstinnercreate