New issue 2821: _PyObject_GC_Malloc missing from the C API emulation layer https://bitbucket.org/pypy/pypy/issues/2821/_pyobject_gc_malloc-missing-from-the-c-api
Hrvoje Nikšić: Although technically a private function, `_PyObject_GC_Malloc` is currently the only way to implement an object with additional data not managed by Python's type/allocation system. Since other "gc" functions, like `_PyObject_GC_New`, appear aliased to their non-gc counterparts, we worked around the issue by just calling `PyObject_Malloc` when compiling our C extensions under PyPy. _______________________________________________ pypy-issue mailing list pypy-issue@python.org https://mail.python.org/mailman/listinfo/pypy-issue