mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
bpo-44895: Introduce PYTHONDUMPREFSFILE variable for refcount dumping (GH-27767)
This commit is contained in:
parent
96346cb6d0
commit
c2c857b40f
5 changed files with 41 additions and 0 deletions
|
|
@ -975,3 +975,12 @@ Debug-mode variables
|
|||
shutting down the interpreter.
|
||||
|
||||
Need Python configured with the :option:`--with-trace-refs` build option.
|
||||
|
||||
.. envvar:: PYTHONDUMPREFSFILE=FILENAME
|
||||
|
||||
If set, Python will dump objects and reference counts still alive
|
||||
after shutting down the interpreter into a file called *FILENAME*.
|
||||
|
||||
Need Python configured with the :option:`--with-trace-refs` build option.
|
||||
|
||||
.. versionadded:: 3.11
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue