Raymond Hettinger <raymond.hettin...@gmail.com> added the comment:

And, if we were willing to correct the exception type from ValueError to 
TypeError, the code could be made simpler, faster, and more in line with user 
expectations.

----------

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

Reply via email to