Message363952
| Author |
vstinner |
| Recipients |
Michael.Felt, vstinner |
| Date |
2020年03月11日.18:00:32 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1583949632.83.0.475360814828.issue39936@roundup.psfhosted.org> |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| 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 |
|