2015-04-28 4:59 GMT+02:00 Neil Girdhar <[email protected]>: > 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
_______________________________________________ NumPy-Discussion mailing list [email protected] http://mail.scipy.org/mailman/listinfo/numpy-discussion
