| diff -Naur Python-3.8.0-orig/Lib/distutils/cygwinccompiler.py Python-3.8.0/Lib/distutils/cygwinccompiler.py |
| --- Python-3.8.0-orig/Lib/distutils/cygwinccompiler.py 2019-10-22 10:02:03.680054000 +0300 |
| +++ Python-3.8.0/Lib/distutils/cygwinccompiler.py 2019-10-22 10:02:16.066475700 +0300 |
| @@ -48,7 +48,6 @@ |
| import os |
| import sys |
| import copy |
| -from subprocess import Popen, PIPE, check_output |
| import re |
| |
| from distutils.ccompiler import gen_preprocess_options, gen_lib_options |
| @@ -385,6 +384,7 @@ |
| executable = cmd.split()[0] |
| if find_executable(executable) is None: |
| return None |
| + from subprocess import Popen, PIPE |
| out = Popen(cmd, shell=True, stdout=PIPE).stdout |
| try: |
| out_string = out.read() |