Ezio Melotti added the comment:

I think the error message should display both the numeric code and also the 
error name if available.
Instead of using a mapping, perhaps an Enum could be used instead.

----------
stage: needs patch -> patch review
versions: +Python 3.6 -Python 3.4

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue16379>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to