__instancecheck__ - overwrite shows no effect - what am I doing wrong?
I'm trying to make my class appear as a different object to circumvent lazy type checking in a package I'm using. More specifically, I'm trying to make my object appear as an instance of another object ( tuple in my case) when in reality it is not even a derivation of that. In order to achieve this, I plan to overwrite the __isinstance__ method which, according to the docs , should do exactly what I desire. However, it appears that I didn't understand how do to do that exactly, because my attempts have been unsuccessful. Here's an SSCCE that should make isinstance return False in all cases but