Closed
Description
Bug report
Bug description:
-X showrefcount
should “output the total reference count and number of used memory blocks [...] after each statement in the interactive interpreter. This only works on debug builds.”
This works with PYTHON_BASIC_REPL=1
, but with the new REPL the totals are only shown at exit.
CPython versions tested on:
3.13, 3.14, CPython main branch
Operating systems tested on:
Linux
Activity
Eclips4 commentedon May 16, 2025
Hi Petr, are you working on this? Happy to take it if you're busy! :)
encukou commentedon May 16, 2025
gh-134097: Print number of refs & blocks after each statement in new …
pythongh-134097: Print number of refs & blocks after each statement i…
5 remaining items