[pypy-issue] Issue #2447: cpyext: _PyObject_GetDictPtr is unimplemented (pypy/pypy)
issues-reply at bitbucket.org
Fri Dec 9 18:36:00 EST 2016
New issue 2447: cpyext: _PyObject_GetDictPtr is unimplemented
The implementation _PyObject_GetDictPtr currently looks like a placeholder that always returns NULL.
@cpython_api([PyObject], PyObjectP, error=CANNOT_FAIL)
def _PyObject_GetDictPtr(space, op):
This breaks one of the remaining testcases in pybind11 covering types with a modifiable dictionary.
It would be great if this could be modified to return the pointer at tp_dictoffset for types who have this field set up before PyType_Ready.
More information about the pypy-issue