Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Closed
miss-islington wants to merge 1 commit into
python:3.7python/cpython:3.7from
miss-islington:backport-483422f-3.7miss-islington/cpython:backport-483422f-3.7Copy head branch name to clipboard
Closed

[3.7] bpo-34044: subprocess.Popen copies startupinfo (GH-8090)#8120
miss-islington wants to merge 1 commit into
python:3.7python/cpython:3.7from
miss-islington:backport-483422f-3.7miss-islington/cpython:backport-483422f-3.7Copy head branch name to clipboard

Conversation

@miss-islington

@miss-islington miss-islington commented Jul 5, 2018

Copy link
Copy Markdown
Contributor

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

Co-authored-by: Victor Stinner vstinner@redhat.com

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

Co-authored-by: Victor Stinner <vstinner@redhat.com>
@vstinner

vstinner commented Jul 5, 2018

Copy link
Copy Markdown
Member

I don't think that it's ok to add a public STARTUPINFO.copy() method in 3.7.1, so I created a backport manually to make the method private: PR 8121.

@vstinner vstinner closed this Jul 5, 2018
@miss-islington miss-islington deleted the backport-483422f-3.7 branch July 5, 2018 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.