diff options
author | Gregory P. Smith <greg@krypto.org> | 2022-05-09 23:03:46 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-09 23:03:46 (GMT) |
commit | 6ed7c353b8ded48a9128413f35921ddc4e5b1065 (patch) | |
tree | afc47815078dc4b9eb7bc1ca47b97be3ebabcaac /Python/pylifecycle.c | |
parent | 22bddc864d3cc04ed218beb3b706ff1790db836a (diff) | |
download | cpython-6ed7c353b8ded48a9128413f35921ddc4e5b1065.zip cpython-6ed7c353b8ded48a9128413f35921ddc4e5b1065.tar.gz cpython-6ed7c353b8ded48a9128413f35921ddc4e5b1065.tar.bz2 |
gh-88750: Remove the PYTHONTHREADDEBUG env var support. (#92509)
Remove the `PYTHONTHREADDEBUG` env var support.
Remove no-op dprintf() macro calls.
Diffstat (limited to 'Python/pylifecycle.c')
-rw-r--r-- | Python/pylifecycle.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Python/pylifecycle.c b/Python/pylifecycle.c index 273f6d6..8644b5b 100644 --- a/Python/pylifecycle.c +++ b/Python/pylifecycle.c @@ -1091,8 +1091,6 @@ pyinit_main_reconfigure(PyThreadState *tstate) static PyStatus init_interp_main(PyThreadState *tstate) { - extern void _PyThread_debug_deprecation(void); - assert(!_PyErr_Occurred(tstate)); PyStatus status; @@ -1194,9 +1192,6 @@ init_interp_main(PyThreadState *tstate) #endif } - // Warn about PYTHONTHREADDEBUG deprecation - _PyThread_debug_deprecation(); - assert(!_PyErr_Occurred(tstate)); return _PyStatus_OK(); |