Christoph Glaubitz <[email protected]> added the comment:
Maybe this is just how it should have been working the entire time, and osc is
just holding it wrong.
Since:
class B:
pass
issubclass(f, B)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: issubclass() arg 1 must be a class
... but:
issubclass(B, A)
False
----------
title: Regression in abc in combination with issubclass -> Regression in abc in
combination with passing a function to issubclass
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue34760>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com