Skip to content

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
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 merged commit 4d77691 into python:main Aug 6, 2021
@miss-islington
Copy link
Contributor

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

@vstinner vstinner deleted the deprecate_thread_debug branch August 6, 2021 11:11
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 <[email protected]>
@bedevere-bot
Copy link

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

@bedevere-bot bedevere-bot removed the needs backport to 3.10 only security fixes label Aug 6, 2021
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 <[email protected]>
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.

6 participants