Skip to content

Conversation

@serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Nov 5, 2025

Add more tests for the altchars argument of b64decode() and for the map01 argument of b32decode().

Add more tests for the altchars argument of b64decode() and for the map01
argument of b32decode().
@serhiy-storchaka serhiy-storchaka added tests Tests in the Lib/test dir skip news needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes labels Nov 5, 2025
@serhiy-storchaka serhiy-storchaka merged commit 13360ef into python:main Nov 6, 2025
54 checks passed
@miss-islington-app
Copy link

Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14.
🐍🍒⛏🤖

@serhiy-storchaka serhiy-storchaka deleted the test-base64-decode-altchars branch November 6, 2025 09:34
@miss-islington-app
Copy link

Sorry, @serhiy-storchaka, I could not cleanly backport this to 3.14 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 13360efd385d1a7d0659beba03787ea3d063ef9b 3.14

@miss-islington-app
Copy link

Sorry, @serhiy-storchaka, I could not cleanly backport this to 3.13 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 13360efd385d1a7d0659beba03787ea3d063ef9b 3.13

serhiy-storchaka added a commit to serhiy-storchaka/cpython that referenced this pull request Nov 6, 2025
The "+" and "/" characters are no longer recognized as the part of
the Base64 alphabet in base64.urlsafe_b64decode() and base64.b64decode()
the altchars argument that does not contain them.
serhiy-storchaka added a commit to serhiy-storchaka/cpython that referenced this pull request Nov 6, 2025
Add more tests for the altchars argument of b64decode() and for the map01
argument of b32decode().
(cherry picked from commit 13360ef)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@bedevere-app
Copy link

bedevere-app bot commented Nov 6, 2025

GH-141130 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.14 bugs and security fixes label Nov 6, 2025
@serhiy-storchaka serhiy-storchaka removed the needs backport to 3.13 bugs and security fixes label Nov 6, 2025
serhiy-storchaka added a commit that referenced this pull request Nov 6, 2025
Add more tests for the altchars argument of b64decode() and for the map01
argument of b32decode().
(cherry picked from commit 13360ef)
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Nov 6, 2025
…onGH-141130)

(cherry picked from commit fd17ee0)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Add more tests for the altchars argument of b64decode() and for the map01
argument of b32decode().
(cherry picked from commit 13360ef)
serhiy-storchaka added a commit that referenced this pull request Nov 6, 2025
…41133)

(cherry picked from commit fd17ee0)

Add more tests for the altchars argument of b64decode() and for the map01
argument of b32decode().
(cherry picked from commit 13360ef)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant