]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-118761: Revert "Improve import time of `subprocess` (GH-129427)" (GH-130201...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 16 Feb 2025 19:03:32 +0000 (20:03 +0100)
committerGitHub <noreply@github.com>
Sun, 16 Feb 2025 19:03:32 +0000 (19:03 +0000)
commit831695b04cac8c004ede2635d7710a370a9cfbc1
tree050eda99e0b5151225a4016ccc10f7b5695d5b34
parent2fcad2a47beef88937e1a8f3adba813a33cb31fe
[3.13] gh-118761: Revert "Improve import time of `subprocess` (GH-129427)" (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 49f24650e4541456872490ec2b59d6d186204891.
Also known as f502c8f6a6db4be27c97a0e5466383d117859b7f in 3.13 (PR GH-129447)
Also known as f65aa0d1bf7b636ab8f9d226429205854b24cd7a in 3.12 (PR GH-129448)

This caused bugs in the `__del__` finalizer:
 https://github.com/python/cpython/issues/118761#issuecomment-2661504264

---------
(cherry picked from commit ae3064608935367c860182dc1b364631082ecdff)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Lib/subprocess.py
Misc/NEWS.d/next/Library/2025-02-16-10-12-27.gh-issue-118761.TNw5ZC.rst [new file with mode: 0644]