]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-41718: subprocess imports grp and pwd on demand (GH-24987)
authorVictor Stinner <vstinner@python.org>
Tue, 23 Mar 2021 16:42:51 +0000 (17:42 +0100)
committerGitHub <noreply@github.com>
Tue, 23 Mar 2021 16:42:51 +0000 (17:42 +0100)
commitd72e8d487553c103bf2742e229f8266b515fd951
treec0cec7aa275f3bcb12d26e6535aaea7f3a6ad3e2
parent76b5d714e4e2b9f3b63847325cba51d4c4dc36bc
bpo-41718: subprocess imports grp and pwd on demand (GH-24987)

The shutil and subprocess modules now only import the grp and pwd
modules when they are needed, which is not the case by default in
subprocess.
Lib/shutil.py
Lib/subprocess.py