Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 9, 2020
Merged

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

merged 2 commits into from
Mar 9, 2020

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Mar 9, 2020

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
Copy link
Member Author

vstinner commented Mar 9, 2020

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

@vstinner
Copy link
Member Author

vstinner commented Mar 9, 2020

@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