Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

I concur with Eric. The current exception is correct and allows to identify 
your mistake. Changing the type of the exception will break an existing code, 
and the message proposed by you is misleading.

----------
nosy: +serhiy.storchaka
status: open -> closed

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

Reply via email to