]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-146121: Clarify security model of pkgutil.getdata; revert checks (GH-148197)
authorPetr Viktorin <encukou@gmail.com>
Tue, 7 Apr 2026 09:39:50 +0000 (11:39 +0200)
committerGitHub <noreply@github.com>
Tue, 7 Apr 2026 09:39:50 +0000 (11:39 +0200)
commitcf59bf76470f3d75ad47d80ffb8ce76b64b5e943
tree91b305b5c731c785704fc5c48ce27c048c7452f9
parenta4d9d6483fba5582a0dd44f600c36b02cdc171f7
gh-146121: Clarify security model of pkgutil.getdata; revert checks (GH-148197)

This reverts commit bcdf231946b1da8bdfbab4c05539bb0cc964a1c7,
and clarifies get_data's security model.

Co-authored-by: Stan Ulbrych <stan@python.org>
Doc/library/pkgutil.rst
Lib/pkgutil.py
Lib/test/test_pkgutil.py
Misc/NEWS.d/next/Security/2026-03-16-18-07-00.gh-issue-146121.vRbdro.rst [deleted file]