[issue25731] Assigning and deleting __new__ attr on the class does not allow to create instances of this class
jcristau added the comment: This change in 2.7 seems to break things: $ cat foo.pxd cdef class B: cdef object b $ cat foo.pyx cdef class A: pass cdef class B: def __init__(self, b): self.b = b $ cat bar.py from foo import A, B class C(A, B): def __init__(self
[issue25731] Assigning and deleting __new__ attr on the class does not allow to create instances of this class
jcristau added the comment: Well yes, but as far as I can tell that's why python used B.__new__ for C before your change, as that has a compatible layout. -- ___ Python tracker <http://bugs.python.org/is