gh-88750: Remove the PYTHONTHREADDEBUG env var support. (#92509)

Remove the `PYTHONTHREADDEBUG` env var support.
Remove no-op dprintf() macro calls.
This commit is contained in:
Gregory P. Smith 2022-05-09 16:03:46 -07:00 committed by GitHub
parent 22bddc864d
commit 6ed7c353b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 5 additions and 107 deletions

View file

@ -999,15 +999,6 @@ conflict.
Debug-mode variables
~~~~~~~~~~~~~~~~~~~~
.. envvar:: PYTHONTHREADDEBUG
If set, Python will print threading debug info into stdout.
Need a :ref:`debug build of Python <debug-build>`.
.. deprecated-removed:: 3.10 3.12
.. envvar:: PYTHONDUMPREFS
If set, Python will dump objects and reference counts still alive after

View file

@ -278,7 +278,6 @@ Effects of a debug build:
* Add ``d`` to :data:`sys.abiflags`.
* Add :func:`sys.gettotalrefcount` function.
* Add :option:`-X showrefcount <-X>` command line option.
* Add :envvar:`PYTHONTHREADDEBUG` environment variable.
* Add support for the ``__lltrace__`` variable: enable low-level tracing in the
bytecode evaluation loop if the variable is defined.
* Install :ref:`debug hooks on memory allocators <default-memory-allocators>`