Skip to content

Comments

[3.6] bpo-30121: Fix debug assert in subprocess on Windows (#1224)#3173

Merged
vstinner merged 2 commits intopython:3.6from
vstinner:subprocess_handle
Aug 21, 2017
Merged

[3.6] bpo-30121: Fix debug assert in subprocess on Windows (#1224)#3173
vstinner merged 2 commits intopython:3.6from
vstinner:subprocess_handle

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Aug 21, 2017

segevfiner and others added 2 commits August 21, 2017 23:51
* bpo-30121: Fix debug assert in subprocess on Windows

This is caused by closing HANDLEs using os.close which is for CRT file
descriptors and not for HANDLEs.

* bpo-30121: Suppress debug assertion in test_subprocess when ran directly

(cherry picked from commit 4d38517)
bpo-30121: Test the Popen failure when Popen was created with pipes.
Create also NONEXISTING_CMD variable in test_subprocess.py.
(cherry picked from commit 9a83f65)
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.

5 participants