]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-41282: distutils: Fix stacklevel for DeprecationWarning (GH-24657)
authorInada Naoki <songofacandy@gmail.com>
Tue, 2 Mar 2021 02:49:10 +0000 (11:49 +0900)
committerGitHub <noreply@github.com>
Tue, 2 Mar 2021 02:49:10 +0000 (11:49 +0900)
commit5bfa94560519bbe70ae66ff0a29498f2ae2e1937
tree0231b0103c22f446e0ebec9ab31366ed53679b8c
parenta347bc0b35c982e9600838d5a545e244bb76a4bf
bpo-41282: distutils: Fix stacklevel for DeprecationWarning (GH-24657)

DeprecationWarning is emit for `import distutils`, not for `distutils` itself.
Lib/distutils/__init__.py
Misc/NEWS.d/next/Library/2021-03-02-09-54-22.bpo-41282.xL4h94.rst [new file with mode: 0644]