| commit | 9060b4abbe475591b6230b23c2afefeff26fcca5 | [log] [tgz] |
|---|---|---|
| author | Serhiy Storchaka <storchaka@gmail.com> | Wed Jan 21 07:41:58 2026 |
| committer | GitHub <noreply@github.com> | Wed Jan 21 07:41:58 2026 |
| tree | 5c4e859bc9dd81d61adcc38f8ce1888ac9859d57 | |
| parent | 48795b6460e16dff72add0675a7bf8e1f029108e [diff] |
gh-125346: Deprecate accepting standard Base64 alphabet when alternative alphabet is used (GH-141128) Emit a warning in base64.urlsafe_b64decode() and base64.b64decode() when the "+" or "/" characters occur in the Base64 data with alternative alphabet if they are not the part of the alternative alphabet. It is a DeprecationWarning in the strict mode (will be error) and a FutureWarning in non-strict mode (will be ignored).