Skip to content

bpo-39763: Add _bootsubprocess to build Python on AIX#18872

Merged
vstinner merged 2 commits into
python:masterfrom
vstinner:bootsubprocess
Mar 9, 2020
Merged

bpo-39763: Add _bootsubprocess to build Python on AIX#18872
vstinner merged 2 commits into
python:masterfrom
vstinner:bootsubprocess

Conversation

@vstinner

@vstinner vstinner commented Mar 9, 2020

Copy link
Copy Markdown
Member

Add _bootsubprocess module to bootstrap Python: subprocess
implementation which only uses the os module.

On AIX, distutils.util uses _aix_support which calls
subprocess.check_output(), before the _posixsubprocess module is
built. Implement check_output() with os.system() in _bootsubprocess.

https://bugs.python.org/issue39763

Add _bootsubprocess module to bootstrap Python: subprocess
implementation which only uses the os module.

On AIX, distutils.util uses _aix_support which calls
subprocess.check_output(), before the _posixsubprocess module is
built. Implement check_output() with os.system() in _bootsubprocess.
@vstinner

vstinner commented Mar 9, 2020

Copy link
Copy Markdown
Member Author

skip news: commit 1ec63b6 already added a NEWS entry.

@vstinner

vstinner commented Mar 9, 2020

Copy link
Copy Markdown
Member Author

@aixtools: Would you mind to test if this change fix the build on AIX?
https://bugs.python.org/issue39763#msg363646

@vstinner vstinner merged commit addaaaa into python:master Mar 9, 2020
@vstinner vstinner deleted the bootsubprocess branch March 9, 2020 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants