http://codereview.appspot.com/504/diff/1/21 File Objects/abstract.c (right): http://codereview.appspot.com/504/diff/1/21#newcode2914 Line 2914: if (Py_TYPE(inst) == cls && !PyTuple_Check(cls)) The tuple check is technically redundant. :-)