-
-
Notifications
You must be signed in to change notification settings - Fork 34.6k
base64.b64decode error raised on valid input #145968
Copy link
Copy link
Closed
Labels
3.15pre-release feature fixes, bugs and security fixespre-release feature fixes, bugs and security fixesstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Metadata
Metadata
Assignees
Labels
3.15pre-release feature fixes, bugs and security fixespre-release feature fixes, bugs and security fixesstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Bug report
Bug description:
An error is raised for the following valid test cases using the newly introduced
ignorecharsparameterFor both we get:
In both cases, the leading byte should be ignored thus giving a 4 bytes valid input.
CPython versions tested on:
CPython main branch
Operating systems tested on:
macOS
Linked PRs