diff options
author | Victor Stinner <vstinner@python.org> | 2020-04-12 23:45:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-12 23:45:09 +0200 |
commit | 14d5331eb5e6c38be12bad421bd59ad0fac9e448 (patch) | |
tree | 4f9c3351cc8f6cb2fa397b56a4a6c37c547cef87 /Doc/library | |
parent | 909b87d2bb3d6330d39c48e43f7f50f4d086cc41 (diff) | |
download | cpython-git-14d5331eb5e6c38be12bad421bd59ad0fac9e448.tar.gz |
bpo-40234: Revert "bpo-37266: Daemon threads are now denied in subinterpreters (GH-14049)" (GH-19456)
This reverts commit 066e5b1a917ec2134e8997d2cadd815724314252.
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/threading.rst | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Doc/library/threading.rst b/Doc/library/threading.rst index 1e90294142..3a446adfac 100644 --- a/Doc/library/threading.rst +++ b/Doc/library/threading.rst @@ -280,8 +280,6 @@ since it is impossible to detect the termination of alien threads. base class constructor (``Thread.__init__()``) before doing anything else to the thread. - Daemon threads must not be used in subinterpreters. - .. versionchanged:: 3.3 Added the *daemon* argument. @@ -296,12 +294,6 @@ since it is impossible to detect the termination of alien threads. This method will raise a :exc:`RuntimeError` if called more than once on the same thread object. - Raise a :exc:`RuntimeError` if the thread is a daemon thread and the - method is called from a subinterpreter. - - .. versionchanged:: 3.9 - In a subinterpreter, spawning a daemon thread now raises an exception. - .. method:: run() Method representing the thread's activity. |