Python object lists
Closed this issue · 5 comments
gburlet commented
Python lists of MeiElement/MeiAttribute objects do not play well with the python bindings of the C++ functions.
for example:
attrs = nc.getAttributes()
# manipulate the array somehow
attrs.pop()
nc.setAttributes(attrs)
Results in:
MeiElement.setAttributes(MeiElement, list)
did not match C++ signature:
setAttributes(mei::MeiElement {lvalue}, std::vector<mei::MeiAttribute*, std::allocator<mei::MeiAttribute*> >)
gburlet commented
ahankinson commented
You got this, or should I have a go at it?
gburlet commented
I'm on it right now
ahankinson commented
Awesome. You get 🍦
gburlet commented
I scream, you scream, we all scream for boost::python bindings!