• Kevin Modzelewski's avatar
    Add type.__instancecheck__ and __subclasscheck__ · 77658381
    Kevin Modzelewski authored
    We supported classes that overrode them, but didn't provide a
    default implementation in case people called it by hand.
    
    The tricky part is making sure that these new additions don't
    mess with our "does this class override __instancecheck__" optimizations.
    77658381
typeobject.cpp 136 KB