]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-118761: Revert "Improve import time of `subprocess` (GH-129427)" (#130201)
authorGregory P. Smith <greg@krypto.org>
Sun, 16 Feb 2025 18:40:08 +0000 (10:40 -0800)
committerGitHub <noreply@github.com>
Sun, 16 Feb 2025 18:40:08 +0000 (18:40 +0000)
commitae3064608935367c860182dc1b364631082ecdff
tree1ae5b50e8c1f169dae0798805a6bb0c8f1627b87
parent655fc8a0fce3396fc1af3f7bc8f5c94ca8ec377d
gh-118761: Revert "Improve import time of `subprocess` (GH-129427)" (#130201)

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

This reverts commit 49f24650e4541456872490ec2b59d6d186204891.
Also known as f502c8f6a6db4be27c97a0e5466383d117859b7f in 3.13 (PR #129447)
Also known as f65aa0d1bf7b636ab8f9d226429205854b24cd7a in 3.12 (PR #129448)

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

---------

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]