commit | 29be3bd3c9aed0190e60096a603120cacda82375 | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@redhat.com> | Thu Jul 05 23:15:28 2018 +0200 |
committer | GitHub <noreply@github.com> | Thu Jul 05 23:15:28 2018 +0200 |
tree | 7e0ecd0f3664ef04e675f60ed1c7f118bd334085 | |
parent | f5770f354cb982303237d581ad2b296486475965 [diff] |
bpo-34044: subprocess.Popen copies startupinfo (GH-8090) (GH-8121) 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 483422f57e5d8c8bf8820fec29fc9b96bb15d4ef)