Skip to content

gh-118761: Revert "Improve import time of subprocess (GH-129427)" #130201

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 3 commits into from
Feb 16, 2025

Conversation

gpshead
Copy link
Member

@gpshead gpshead commented Feb 16, 2025

This reverts commit 49f2465.

This caused bugs in the __del__ finalizer:
#118761 (comment)

…H-129427)"

This reverts commit 49f2465.

This caused bugs in the `__del__` finalizer:
 python#118761 (comment)
@gpshead gpshead enabled auto-merge (squash) February 16, 2025 18:13
@gpshead gpshead self-assigned this Feb 16, 2025
@gpshead gpshead disabled auto-merge February 16, 2025 18:16
@gpshead gpshead enabled auto-merge (squash) February 16, 2025 18:18
@picnixz
Copy link
Member

picnixz commented Feb 16, 2025

Actually, shouldn't we remove the previous NEWS entry? I don't know whether it makes sense to have it in the changelog in this case (but if one downloads an exact version they could have it =/)

@gpshead
Copy link
Member Author

gpshead commented Feb 16, 2025

This has already shipped in releases.

@gpshead
Copy link
Member Author

gpshead commented Feb 16, 2025

So the new NEWS entry is a correction for the previous one.

@gpshead gpshead merged commit ae30646 into python:main Feb 16, 2025
39 checks passed
@miss-islington-app
Copy link

Thanks @gpshead for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Feb 16, 2025
…H-129427)" (pythonGH-130201)

* Revert "pythongh-118761: Improve import time of `subprocess` (pythonGH-129427)"

This reverts commit 49f2465.
Also known as f502c8f in 3.13 (PR pythonGH-129447)
Also known as f65aa0d in 3.12 (PR pythonGH-129448)

This caused bugs in the `__del__` finalizer:
 python#118761 (comment)

---------
(cherry picked from commit ae30646)

Co-authored-by: Gregory P. Smith <[email protected]>
Co-authored-by: Bénédikt Tran <[email protected]>
@bedevere-app
Copy link

bedevere-app bot commented Feb 16, 2025

GH-130204 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Feb 16, 2025
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Feb 16, 2025
…H-129427)" (pythonGH-130201)

* Revert "pythongh-118761: Improve import time of `subprocess` (pythonGH-129427)"

This reverts commit 49f2465.
Also known as f502c8f in 3.13 (PR pythonGH-129447)
Also known as f65aa0d in 3.12 (PR pythonGH-129448)

This caused bugs in the `__del__` finalizer:
 python#118761 (comment)

---------
(cherry picked from commit ae30646)

Co-authored-by: Gregory P. Smith <[email protected]>
Co-authored-by: Bénédikt Tran <[email protected]>
@gpshead gpshead deleted the revert-pr129427-subprocess-lazy-imports branch February 16, 2025 18:40
@bedevere-app
Copy link

bedevere-app bot commented Feb 16, 2025

GH-130205 is a backport of this pull request to the 3.12 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.12 only security fixes label Feb 16, 2025
gpshead added a commit that referenced this pull request Feb 16, 2025
)" (GH-130201) (#130205)

gh-118761: Revert "Improve import time of `subprocess` (GH-129427)" (GH-130201)

* Revert "gh-118761: Improve import time of `subprocess` (GH-129427)"

This reverts commit 49f2465.
Also known as f502c8f in 3.13 (PR GH-129447)
Also known as f65aa0d in 3.12 (PR GH-129448)

This caused bugs in the `__del__` finalizer:
 #118761 (comment)

---------
(cherry picked from commit ae30646)

Co-authored-by: Gregory P. Smith <[email protected]>
Co-authored-by: Bénédikt Tran <[email protected]>
gpshead added a commit that referenced this pull request Feb 16, 2025
)" (GH-130201) (#130204)

gh-118761: Revert "Improve import time of `subprocess` (GH-129427)" (GH-130201)

* Revert "gh-118761: Improve import time of `subprocess` (GH-129427)"

This reverts commit 49f2465.
Also known as f502c8f in 3.13 (PR GH-129447)
Also known as f65aa0d in 3.12 (PR GH-129448)

This caused bugs in the `__del__` finalizer:
 #118761 (comment)

---------
(cherry picked from commit ae30646)

Co-authored-by: Gregory P. Smith <[email protected]>
Co-authored-by: Bénédikt Tran <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants