[issue17840] base64_codec uses assert for runtime validity checks
M.-A. Lemburg
mal at egenix.com
Mon Jul 8 13:55:48 CEST 2013
On 07.07.2013 16:31, Alex Henderson wrote:
> Having discussed this with Ezio, I think the better option might be to raise ValueError instead - if someone is expecting to be able to silently recover from errors they won't be able to, and should find out about this sooner rather than later.
> I'll upload an updated patch shortly.
+1
--
Marc-Andre Lemburg
eGenix.com
More information about the Python-bugs-list
mailing list