Eryk Sun <eryk...@gmail.com> added the comment:

The docs still need to clarified that isinstance(obj, type) is a necessary but 
not sufficient condition for success. It would also be helpful if the error 
message were less confusing in the case of registered subclasses such as 
numbers.Number.

----------
type:  -> enhancement
versions: +Python 3.10, Python 3.8, Python 3.9 -Python 2.7, Python 3.4, Python 
3.5, Python 3.6

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

Reply via email to