Created originally on Bitbucket by mattip
test, improve PyDict_Next
by creating a PyDictObject
.
Unfortunately the test exposed another cpyext failure, creating a PyGetSetDescrObject
from a typdef's GetSetProperty
. After adding a way to pass the w_type into the appropriate attach
function, I got the desired outcome, but did not actually turn the fget,fset into c-function equivalents
Since the GetSetProperty
never worked in the first place, I would like to merge this branch as-is, it accomplishes the purpose it set out - to improve PyDict_Next.
If and when we get concrete complaints about PyGetSetDescrObject
crashing, we can open a new issue.