[issue33018] Improve issubclass() error checking and message
Alexey Izbyshev
report at bugs.python.org
Wed Mar 7 04:09:52 EST 2018
Alexey Izbyshev <izbyshev at ispras.ru> added the comment:
ABC.register() has an explicit check, and it is mentioned in PEP 3119. The point here is not to change issubclass(), but to change ABC.__subclasscheck__(). It may conceivably have stricter requirements than issubclass() has. But certainly an advice from actual ABC users would be nice.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33018>
_______________________________________
More information about the Python-bugs-list
mailing list