]> granicus.if.org Git - python/commit
bpo-31733: Add PYTHONSHOWREFCOUNT env var (GH-3932)
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 17 Oct 2017 08:35:19 +0000 (01:35 -0700)
committerGitHub <noreply@github.com>
Tue, 17 Oct 2017 08:35:19 +0000 (01:35 -0700)
commit3c082a7fdb472f02bcac7a7f8fe1e3a34a11b70b
treed2718389a34a2ce5c5984c28e195f624d617af09
parent50cef52372381a9e2f3d760497d8db76254cffef
bpo-31733: Add PYTHONSHOWREFCOUNT env var (GH-3932)

Add a new PYTHONSHOWREFCOUNT environment variable. In debug mode,
Python now only print the total reference count if PYTHONSHOWREFCOUNT
is set.
Doc/using/cmdline.rst
Misc/NEWS.d/next/Core and Builtins/2017-10-09-15-46-37.bpo-31733.pIf17N.rst [new file with mode: 0644]
Python/pythonrun.c