[pypy-issue] [issue1703] Crash when overriding PyType_Type.tp_new
tracker at bugs.pypy.org
Mon Mar 10 09:50:36 CET 2014
Johan Rade <johan.rade at gmail.com> added the comment:
I tried to run some tests to see what happens when you override the other slots.
But then I discovered something surprising:
The derived metaclass crashes even if you do not override any slots.
I have uploaded an example Foo4 that demonstrates this behavior. You compile and
run Foo4 the same way as Foo3. With CPython 2.7.6 Foo4.py runs, which is the
expected behavior. With PyPy 2.2.1 and PyPy -r69793 it crashes.
PyPy bug tracker <tracker at bugs.pypy.org>
More information about the pypy-issue