Message326661
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) |
|
Date |
User |
Action |
Args |
2018-09-28 23:37:28 | fbidu | set | recipients:
+ fbidu, pw.michael.harris |
2018-09-28 23:37:28 | fbidu | set | messageid: <1538177848.18.0.545547206417.issue34832@psf.upfronthosting.co.za> |
2018-09-28 23:37:28 | fbidu | link | issue34832 messages |
2018-09-28 23:37:28 | fbidu | create | |
|