Revert "bpo-35537: subprocess can now use os.posix_spawnp (GH-11579)" (GH-11582)

This reverts commit 0785889468.
This commit is contained in:
Victor Stinner 2019-01-16 23:38:06 +01:00 committed by GitHub
parent 0785889468
commit 8c349565e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 13 deletions

View file

@ -612,8 +612,7 @@ def collect_get_config(info_add):
def collect_subprocess(info_add):
import subprocess
attrs = ('_USE_POSIX_SPAWN', '_HAVE_POSIX_SPAWNP')
copy_attributes(info_add, subprocess, 'subprocess.%s', attrs)
copy_attributes(info_add, subprocess, 'subprocess.%s', ('_USE_POSIX_SPAWN',))
def collect_info(info):