Skip to content

gh-148016: Improve "Leading padding not allowed" error in Base32 and Base64 decoders#148017

Open
serhiy-storchaka wants to merge 1 commit intopython:mainfrom
serhiy-storchaka:base32-base64-leading-padding-error
Open

gh-148016: Improve "Leading padding not allowed" error in Base32 and Base64 decoders#148017
serhiy-storchaka wants to merge 1 commit intopython:mainfrom
serhiy-storchaka:base32-base64-leading-padding-error

Conversation

@serhiy-storchaka
Copy link
Copy Markdown
Member

@serhiy-storchaka serhiy-storchaka commented Apr 2, 2026

It is now raised instead of "Excess padding not allowed" if all characters preceding "=" were ignored.

…2 and Base64 decoders

It is now raised instead of "Excess padding not allowed" if all characters
preceding "=" were ignored.
@serhiy-storchaka
Copy link
Copy Markdown
Member Author

No NEWS entry because it is an improvement to the ignorechars feature, which is new in 3.15.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant