Skip to content

Remove _bootsubprocess workaround #29645

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

Closed
wants to merge 2 commits into from
Closed

Conversation

tiran
Copy link
Member

@tiran tiran commented Nov 19, 2021

The _bootsubprocess module was added to solve a bootstrapping issue
with subprocess module on POSIX. The _posixsubprocess is now a built-in
module and always available in setup.py.

Signed-off-by: Christian Heimes christian@python.org

The ``_bootsubprocess`` module was added to solve a bootstrapping issue
with subprocess module on POSIX. The ``_posixsubprocess`` is now a built-in
module and always available in ``setup.py``.

Signed-off-by: Christian Heimes <christian@python.org>
@tiran
Copy link
Member Author

tiran commented Nov 19, 2021

The subprocess module uses select C extension and selector Python module. The math code in selector could be replaced with min, which I would find more readable, too.

@vstinner
Copy link
Member

If _posixsubprocess is always available when setup.py is called, I'm fine with removing _bootsubprocess.

If I recall correctly, I wrote _bootsubprocess for AIX. But I forgot about the details :-) It was to be able to use subprocess in distutils, rather than a custom code using fork+exec: subprocess is safer and more reliable.

@github-actions
Copy link

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale Stale PR or inactive for long period of time. label Dec 23, 2021
@AA-Turner
Copy link
Member

Trigger CLA

@AA-Turner AA-Turner closed this Jun 9, 2022
@AA-Turner AA-Turner reopened this Jun 9, 2022
@AA-Turner AA-Turner added build The build process and cross-build and removed CLA signed labels Jun 9, 2022
@tiran
Copy link
Member Author

tiran commented Jun 9, 2022

Closing as wontfix. It's too late to merge the change into 3.11 and we are going to remove setup.py in 3.12.

@tiran tiran closed this Jun 9, 2022
@tiran tiran removed awaiting merge stale Stale PR or inactive for long period of time. labels Jun 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build The build process and cross-build
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants