Message363952
Another approach to patch _aix_support.py, replace:
try:
import subprocess
_have_subprocess = True
_tmp_bd =
_bgt = get_config_var("BUILD_GNU_TYPE")
except ImportError: # pragma: no cover
_have_subprocess = False
_tmp_bd = None
_bgt = "powerpc-ibm-aix6.1.7.0"
with:
try:
import subprocess
_have_subprocess = True
_tmp_bd = get_config_var("AIX_BUILDDATE")
_bgt = get_config_var("BUILD_GNU_TYPE")
except ImportError: # pragma: no cover
import _bootsubprocess as subprocess
_have_subprocess = True
_tmp_bd = None
_bgt = "powerpc-ibm-aix6.1.7.0"
Use _bootsubprocess when subprocess is not available. If this approach works, _have_subprocess=False code path can be removed. |
|
Date |
User |
Action |
Args |
2020-03-11 18:00:32 | vstinner | set | recipients:
+ vstinner, Michael.Felt |
2020-03-11 18:00:32 | vstinner | set | messageid: <1583949632.83.0.475360814828.issue39936@roundup.psfhosted.org> |
2020-03-11 18:00:32 | vstinner | link | issue39936 messages |
2020-03-11 18:00:32 | vstinner | create | |
|