[pypy-issue] [issue762] Error trying to build a C extension in the zope.proxy 3.6.1 package

Amaury Forgeot d Arc tracker at bugs.pypy.org
Tue Jun 28 01:18:12 CEST 2011

Amaury Forgeot d Arc <amauryfa at gmail.com> added the comment:

There is no specific API to get 'cl_dict'; the best compatible approximation is 
PyObject_GetAttrString(obj, "__dict__")
...and DECREF the result object when you are done.

I'm not sure this change will be accept by the developers of zope.proxy: this 
function is basically an adaptation of PyType_Lookup.

nosy: +afa

PyPy bug tracker <tracker at bugs.pypy.org>

More information about the pypy-issue mailing list