Use PyObject_IsInstance() to check whether the first argument to an
unbound method is of the right type. Hopefully this solves SF patch #409355 (Meta-class inheritance problem); I have no easy way to test.
G
Guido van Rossum committed
66b0e9c2a77bd991ea55ad361bad4eb1a3dc5e78
Parent: 69e9e8b