[issue10569] abc: `issubclass([], my_abstract_type)` raises exception

Ram Rachum report at bugs.python.org
Sun Nov 28 23:01:56 CET 2010


Ram Rachum <cool-rr at cool-rr.com> added the comment:

But do you think it's a good idea that `issubclass(1, list)` raises an exception? Why not simply return `False`?

Do you think there's someone out there who's counting on `issubclass` to raise an exception?

----------
status: closed -> open

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10569>
_______________________________________


More information about the Python-bugs-list mailing list