[Numpy-discussion] ANN: numexpr 2.4.3 released

Francesc Alted faltet at gmail.com
Tue Apr 28 06:08:06 EDT 2015

2015-04-28 4:59 GMT+02:00 Neil Girdhar <mistersheik at gmail.com>:

> I don't think I'm asking for so much.  Somewhere inside numexpr it builds
> an AST of its own, which it converts into the optimized code.   It would be
> more useful to me if that AST were in the same format as the one returned
> by Python's ast module.  This way, I could glue in the bits of numexpr that
> I like with my code.  For my purpose, this would have been the more ideal
> design.

I don't think implementing this for numexpr would be that complex. So for
example, one could add a new numexpr.eval_ast(ast_expr) function.  Pull
requests are welcome.

At any rate, which is your use case?  I am curious.

Francesc Alted
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20150428/be8b93bd/attachment.html>

More information about the NumPy-Discussion mailing list