Open robertwb opened 10 years ago
cdef class MyType(HashableBaseClass): __hash__ = None
should set
MyType.tp_hash = PyObject_HashNotImplemented
to disable inheritance of the base type's tp_hash slot.
http://thread.gmane.org/gmane.comp.python.cython.user/11569
Migrated from http://trac.cython.org/ticket/831
should set
to disable inheritance of the base type's tp_hash slot.
http://thread.gmane.org/gmane.comp.python.cython.user/11569
Migrated from http://trac.cython.org/ticket/831