Visitar URL original
bpo-44584: Deprecate PYTHONTHREADDEBUG env var by vstinner · Pull Request #27065 · python/cpython · GitHub
The Wayback Machine - https://web.archive.org/web/20221218082800/https://github.com/python/cpython/pull/27065
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-44584: Deprecate PYTHONTHREADDEBUG env var #27065

Merged
merged 1 commit into from Aug 6, 2021

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Jul 8, 2021 •

The threading debug (PYTHONTHREADDEBUG environment variable) is now
deprecated in Python 3.10 and will be removed in Python 3.12.
This feature requires a debug build of Python.

https://bugs.python.org/issue44584

@vstinner vstinner force-pushed the deprecate_thread_debug branch from 4bda1ff to 1a3cc67 Compare Jul 9, 2021
@vstinner
Copy link
Member Author

vstinner commented Jul 9, 2021

The Windows x64 is stuck in test_subprocess for 1 hour, whereas the tests are run with a timeout of 20 minutes:

1:04:49 load avg: 0.08 running: test_subprocess (1 hour 2 min)

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.
@vstinner
Copy link
Member Author

vstinner commented Aug 6, 2021

I rebase my PR.

@vstinner vstinner force-pushed the deprecate_thread_debug branch from 1a3cc67 to 3b34f39 Compare Aug 6, 2021
@vstinner vstinner merged commit 4d77691 into python:main Aug 6, 2021
13 checks passed
@miss-islington
Copy link
Contributor

miss-islington commented Aug 6, 2021

Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.10.
🐍🍒⛏🤖

@vstinner vstinner deleted the deprecate_thread_debug branch Aug 6, 2021
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Aug 6, 2021
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 4d77691)

Co-authored-by: Victor Stinner <vstinner@python.org>
@bedevere-bot
Copy link

bedevere-bot commented Aug 6, 2021

GH-27624 is a backport of this pull request to the 3.10 branch.

miss-islington added a commit that referenced this pull request Aug 6, 2021
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 4d77691)

Co-authored-by: Victor Stinner <vstinner@python.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants