New issue 2447: cpyext: _PyObject_GetDictPtr is unimplemented
https://bitbucket.org/pypy/pypy/issues/2447/cpyext-_pyobject_getdictptr-is
Wenzel Jakob:
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):
return lltype.nullptr(PyObjectP.TO)
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.
_______________________________________________
pypy-issue mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-issue