bpo-44584: Deprecate PYTHONTHREADDEBUG env var (GH-27065)

The threading debug (PYTHONTHREADDEBUG environment variable) is
deprecated in Python 3.10 and will be removed in Python 3.12. This
feature requires a debug build of Python.
(cherry picked from commit 4d77691172)

Co-authored-by: Victor Stinner <vstinner@python.org>
This commit is contained in:
Miss Islington (bot) 2021-08-06 04:32:37 -07:00 committed by GitHub
parent 0a642d5773
commit a11158ecef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 49 additions and 1 deletions

View file

@ -942,10 +942,12 @@ Debug-mode variables
.. envvar:: PYTHONTHREADDEBUG
If set, Python will print threading debug info.
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