STINNER Victor <vstin...@python.org> added the comment:
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. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue39936> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com