Closed atilaneves closed 5 years ago
sounds kind of like a bug I'm aware of (and the last unit test in referenced commit details it) where the python type is sometimes wrong. I have no idea what is causing it, but I don't think it's a logic error. If you read the type out of the PyObject* it will return the right type. I'll look at it again tonight
dang it, it is a logic error
try master now
It works now, thanks.
I can't use pyd 0.9.9 given the fixes that have gone in since then, which leaves me with using pyd master. Unfortunately, that means that the current master branch has broken functionality by making autowrap's tests fail. I used git bisect and this is the commit that introduced the regression:
i.e. this commit.
The code that failed to be wrapped was this:
After calling
createOuter
, it's impossible to access thePoint
structure inside an inner:This is odd, since while it's true that
Inner1
has nox
member,Point
does. So:So far, so good.
Which is obviously wrong. Again, this problem starts with the commit referenced above.