[Python-Dev] PEP 409 and the stdlib

Antoine Pitrou solipsis at pitrou.net
Tue May 28 20:00:02 CEST 2013


On Tue, 28 May 2013 16:02:00 +0300
Serhiy Storchaka <storchaka at gmail.com> wrote:
> 20.05.13 18:46, Antoine Pitrou написав(ла):
> > I think it is a legitimate case where to silence the original
> > exception. However, the binascii.Error would be more informative if it
> > said *which* non-base32 digit was encountered.
> 
> Please open a new issue for this request (note that no other binascii or 
> base64 functions provide such information).

No, my point was that the KeyError gives you this information (when
displayed as a context), silencing it removes the information.

Regards

Antoine.




More information about the Python-Dev mailing list