]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-145968: Fix base64.b64decode altchars translation in specific cases (GH-145969)
authorMatthieu Darbois <mayeut@users.noreply.github.com>
Sun, 15 Mar 2026 17:46:44 +0000 (18:46 +0100)
committerGitHub <noreply@github.com>
Sun, 15 Mar 2026 17:46:44 +0000 (19:46 +0200)
commitec5e3a5a073507089b0b5908a5a298f8845bb2e4
tree47489400eeee0a7bad222540a62edf9322828b7a
parent757e2ff9d997fb8314e7270d3a71f38c18cc9235
gh-145968: Fix base64.b64decode altchars translation in specific cases (GH-145969)

When altchars overlaps with the standard ones, the translation does not
always yield to the expected outcome.
Lib/base64.py
Lib/test/test_base64.py
Misc/NEWS.d/next/Library/2026-03-15-10-17-51.gh-issue-145968.gZexry.rst [new file with mode: 0644]