Skip to content

Comments

[3.7] bpo-34044: subprocess.Popen copies startupinfo (GH-8090)#8121

Merged
vstinner merged 1 commit intopython:3.7from
vstinner:startupinfo37
Jul 5, 2018
Merged

[3.7] bpo-34044: subprocess.Popen copies startupinfo (GH-8090)#8121
vstinner merged 1 commit intopython:3.7from
vstinner:startupinfo37

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Jul 5, 2018

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() private method.

Python 3.7 backport from master makes the copy() private: renamed to
_copy().

(cherry picked from commit 483422f)

https://bugs.python.org/issue34044

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() private method.

Python 3.7 backport from master makes the copy() private: renamed to
_copy().

(cherry picked from commit 483422f)
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.

3 participants