|
From: | Abhinav Tripathi |
Subject: | Re: Suggestion on priorities for improving pytave |
Date: | Thu, 7 Jul 2016 12:36:24 +0530 |
I don't think we want to drop numpy. I think the numpy dependency is the right thing for 2D/3D/nD arrays. But I also think scalars should perhaps not be wrapped in numpy. I think we have a bitbucket issue about this?
The other priorities sound fine to me. I agree de-boosting could be time-consuming.
I'll follow-up about Symbolic priorities later...
Please make some notes, at some point it might be nice to get a summary
of what has been done so far and what the blockers are, either in a
README or on the wiki.
Agree with Colin, I think we may want to keep numpy for arrays. Needs
some thought put into it. It may be possible to remove it if it's easy
enough to construct a numpy array from an Octave array. But that mode of
operation, whether done implicitly or explicitly, should remain easy.
Once the pyobject stuff is merged, though, you could look at removing
some of the other non-array conversions, for example the automatic
conversions to cell arrays and struct arrays.
Sorry, I'm not sure I follow. Can you demonstrate with some code what
you mean by this? I'm all for making it easier to convert Octave data
types into Python, just not sure what use case you are talking about.
Yes, not sure about the method you describe, but definitely adding
support for arbitary argument lists, and also unpacking multiple return
values.
Maybe some kind of support for function kwargs as well? A scalar struct
to pass named parameters?
Yes, and this could easily be done incrementally. As you've seen and
started doing in your PRs, you can mix and match the Python native API
with the Boost.Python API to some extent.
I have been idle on pytave for the past week or so, but I am hoping to
get back into it and review and merge all of the work you and Colin have
been putting into it. Once I get all of the outstanding PRs and issues
handled, I will try to brainstorm some more immediate ideas for
improvements.
Thank you for your contributions so far!
--
mike
[Prev in Thread] | Current Thread | [Next in Thread] |