Christoph Reiter <[email protected]> added the comment: tp_new call: https://git.gnome.org/browse/pygobject/tree/gi/_gobject/pygenum.c#n39
Ah, ok, thanks. The exception is: "type object 'PyGLibUserDirectory' has no attribute '__enum_values__'".. probably from pyg_enum_new below. Could it be that PyInt_Type.tp_new(int_subclass) calls new of the subclass instead of the PyInt one? .. I'm not that familiar with the Python C API. ________________________________________ PyPy bug tracker <[email protected]> <https://bugs.pypy.org/issue1434> ________________________________________ _______________________________________________ pypy-issue mailing list [email protected] http://mail.python.org/mailman/listinfo/pypy-issue
