summaryrefslogtreecommitdiffstats
path: root/Python/pylifecycle.c
diff options
context:
space:
mode:
authorGregory P. Smith <greg@krypto.org>2022-05-09 23:03:46 (GMT)
committerGitHub <noreply@github.com>2022-05-09 23:03:46 (GMT)
commit6ed7c353b8ded48a9128413f35921ddc4e5b1065 (patch)
treeafc47815078dc4b9eb7bc1ca47b97be3ebabcaac /Python/pylifecycle.c
parent22bddc864d3cc04ed218beb3b706ff1790db836a (diff)
downloadcpython-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.c5
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();