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
Linked PRs
Bug report
Bug description:
-X showrefcountshould “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
Linked PRs