Hi Johan, On 8 March 2014 14:42, Johan Råde <[email protected]> wrote: > I think I might have found a bug in the PyPy C-API. > It seems that PyType_Type.tp_new is broken.
Indeed. I tried to look, but either I missed something or it looks like it won't be that obvious to fix. For reference, the built-in types like PyType_Type are generated automatically and all their slots (or maybe only tp_new?) seem to be subtly wrong: they are done with slot_tp_new(), which calls the instance's generic operation; the latter is possibly overridden in a subtype, thus leading to infinite recursion in cases like you report. Can you post this to the bug tracker? Otherwise it will likely be forgotten. A bientôt, Armin. _______________________________________________ pypy-dev mailing list [email protected] https://mail.python.org/mailman/listinfo/pypy-dev
