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 ncoghlan
Recipients ncoghlan
Date 2013-04-25.07:40:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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:50ncoghlansetrecipients: + ncoghlan
2013-04-25 07:40:50ncoghlansetmessageid: <>
2013-04-25 07:40:50ncoghlanlinkissue17840 messages
2013-04-25 07:40:50ncoghlancreate