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 r.david.murray
Recipients BreamoreBoy, Red HamsterX, ajaksu2, amaury.forgeotdarc, eric.araujo, pitrou, r.david.murray, sanxiyn
Date 2010-11-08.21:29:47
SpamBayes Score 0.00101052
Marked as misclassified No
Message-id <>
Here is an updated patch that addresses the concerns I noted.  I modified the tests: given that I've changed the code to raise binascii.Error as discussed, we don't really care from an API point of view what the error text is, just that the error is raised in the cases given.  Nor do we care (again, from an API point of view) if the first error detected is the invalid character or the invalid padding.  

I made the new test test the validate=False case, so all of the invalid character tests are now correctly padded if you ignore the invalid characters.
Date User Action Args
2010-11-08 21:29:52r.david.murraysetrecipients: + r.david.murray, amaury.forgeotdarc, sanxiyn, pitrou, ajaksu2, eric.araujo, Red HamsterX, BreamoreBoy
2010-11-08 21:29:52r.david.murraysetmessageid: <>
2010-11-08 21:29:50r.david.murraylinkissue1466065 messages
2010-11-08 21:29:49r.david.murraycreate