Message187762
encodings.base64_codec currently uses "assert errors=='strict'" in a few places, since it doesn't actually support any of the Unicode specific error handling modes.
This should either be discarded entirely (and document that the error handling mode is irrelevant for this codec), or else turned into a real check that raises ValueError if an unsupported error mode is passed in.
I have a slight preference for just ignoring the error mode as irrelevant (since this isn't a text encoding in the normal Unicode serialisation-as-bytes sense). |
|
Date |
User |
Action |
Args |
2013-04-25 07:40:50 | ncoghlan | set | recipients:
+ ncoghlan |
2013-04-25 07:40:50 | ncoghlan | set | messageid: <1366875650.57.0.151905786577.issue17840@psf.upfronthosting.co.za> |
2013-04-25 07:40:50 | ncoghlan | link | issue17840 messages |
2013-04-25 07:40:50 | ncoghlan | create | |
|