This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author fbidu
Recipients fbidu, pw.michael.harris
Date 2018-09-28.23:37:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1538177848.18.0.545547206417.issue34832@psf.upfronthosting.co.za>
In-reply-to
Content
I am not sure if simply ignoring the non-valid character is the best way to go. Feels like silencing errors.

b64decode does accept the 'validate' flag - defaulted to False - that will halt the execution and throw an error.

What might be a good idea is to implement an 'errors' argument that accepts 'ignore' as a value, like we do for bytes.decode (https://docs.python.org/3/library/stdtypes.html#bytes.decode)
History
Date User Action Args
2018-09-28 23:37:28fbidusetrecipients: + fbidu, pw.michael.harris
2018-09-28 23:37:28fbidusetmessageid: <1538177848.18.0.545547206417.issue34832@psf.upfronthosting.co.za>
2018-09-28 23:37:28fbidulinkissue34832 messages
2018-09-28 23:37:28fbiducreate