Ivan Levkivskyi <levkivs...@gmail.com> added the comment:

Actually, the behaviour when __suclasscheck__ returns True for non-class 
objects may be used by some code. Even typing module did this, I tried to 
remove as much as possible of this, but I think there may be few such 
situations left.

Therefore, the patch by Inada-san (that makes C behaviour follow Python 
behaviour) looks reasonable to me.

----------

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

Reply via email to