diff options
author | Victor Stinner <vstinner@redhat.com> | 2018-07-05 20:54:17 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-05 20:54:17 (GMT) |
commit | 483422f57e5d8c8bf8820fec29fc9b96bb15d4ef (patch) | |
tree | 236c127b825436f6f16d04bc57ef89a58706a70f /Misc/NEWS.d | |
parent | 09bb918a61031377d720f1a0fa1fe53c962791b6 (diff) | |
download | cpython-483422f57e5d8c8bf8820fec29fc9b96bb15d4ef.zip cpython-483422f57e5d8c8bf8820fec29fc9b96bb15d4ef.tar.gz cpython-483422f57e5d8c8bf8820fec29fc9b96bb15d4ef.tar.bz2 |
bpo-34044: subprocess.Popen copies startupinfo (GH-8090)
subprocess.Popen now copies the startupinfo argument to leave it
unchanged: it will modify the copy, so that the same STARTUPINFO
object can be used multiple times.
Add subprocess.STARTUPINFO.copy() method.
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r-- | Misc/NEWS.d/next/Library/2018-07-04-17-14-26.bpo-34044.KWAu4y.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2018-07-04-17-14-26.bpo-34044.KWAu4y.rst b/Misc/NEWS.d/next/Library/2018-07-04-17-14-26.bpo-34044.KWAu4y.rst new file mode 100644 index 0000000..42a6ffb --- /dev/null +++ b/Misc/NEWS.d/next/Library/2018-07-04-17-14-26.bpo-34044.KWAu4y.rst @@ -0,0 +1,3 @@ +``subprocess.Popen`` now copies the *startupinfo* argument to leave it +unchanged: it will modify the copy, so that the same ``STARTUPINFO`` object can +be used multiple times. |