diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-05-20 10:11:15 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-05-20 10:11:15 (GMT) |
commit | 5a48e21ff163107a6f1788050b2f1ffc8bce2b6d (patch) | |
tree | 47b255b5bd985c762fe5fd2bb9e0beb828fdb986 /Doc/library/subprocess.rst | |
parent | a58e2c5c4928ae8031ee60a97f2ab4f863aff8cb (diff) | |
download | cpython-5a48e21ff163107a6f1788050b2f1ffc8bce2b6d.zip cpython-5a48e21ff163107a6f1788050b2f1ffc8bce2b6d.tar.gz cpython-5a48e21ff163107a6f1788050b2f1ffc8bce2b6d.tar.bz2 |
subprocess now emits a ResourceWarning warning
Issue #26741: subprocess.Popen destructor now emits a ResourceWarning warning
if the child process is still running.
Diffstat (limited to 'Doc/library/subprocess.rst')
-rw-r--r-- | Doc/library/subprocess.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/subprocess.rst b/Doc/library/subprocess.rst index 2ec94bf..0545267 100644 --- a/Doc/library/subprocess.rst +++ b/Doc/library/subprocess.rst @@ -497,6 +497,10 @@ functions. .. versionchanged:: 3.2 Added context manager support. + .. versionchanged:: 3.6 + Popen destructor now emits a :exc:`ResourceWarning` warning if the child + process is still running. + Exceptions ^^^^^^^^^^ |