FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-125346: Add more base64 tests by serhiy-storchaka · Pull Request #141061 · python/cpython · GitHub

Repository navigation

gh-125346: Add more base64 tests - #141061

Merged
serhiy-storchaka merged 1 commit into
python:mainfrom
serhiy-storchaka:test-base64-decode-altchars
Nov 6, 2025
Merged

serhiy-storchaka merged 1 commit into
python:mainfrom
serhiy-storchaka:test-base64-decode-altchars

Conversation

serhiy-storchaka commented Nov 5, 2025 •
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member

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 added tests Tests in the Lib/test dir skip news needs backport to 3.13 only security fixes needs backport to 3.14 bugs and security fixes labels Nov 5, 2025
serhiy-storchaka merged commit 13360ef into python:main Nov 6, 2025
54 checks passed

Copy link
Copy Markdown

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

serhiy-storchaka deleted the test-base64-decode-altchars branch November 6, 2025 09:34

Copy link
Copy Markdown

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

Copy link
Copy Markdown

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 Bot commented Nov 6, 2025

Copy link
Copy Markdown

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

bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Nov 6, 2025
serhiy-storchaka removed the needs backport to 3.13 only 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>
StanFromIreland pushed a commit to StanFromIreland/cpython that referenced this pull request Dec 6, 2025
Add more tests for the altchars argument of b64decode() and for the map01
argument of b32decode().
serhiy-storchaka removed their assignment Jul 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL