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
On Apr 27, 2015 5:30 PM, "Neil Girdhar" wrote:
>
>
>
> On Mon, Apr 27, 2015 at 7:42 PM, Nathaniel Smith wrote:
>>
>> On Mon, Apr 27, 2015 at 4:23 PM, Neil Girdhar
wrote:
>> > I was told that numba did similar ast parsing, but maybe that's not
true.
>> > Regarding the ast, I don't know about reli
Wow, cool! Are there any users of this package?
On Mon, Apr 27, 2015 at 9:07 PM, Alexander Belopolsky
wrote:
>
> On Mon, Apr 27, 2015 at 7:14 PM, Nathaniel Smith wrote:
>
>> There's no way to access the ast reliably at runtime in python -- it gets
>> thrown away during compilation.
>
>
> The "
On Mon, Apr 27, 2015 at 7:14 PM, Nathaniel Smith wrote:
> There's no way to access the ast reliably at runtime in python -- it gets
> thrown away during compilation.
The "meta" package supports bytecode to ast translation. See <
http://meta.readthedocs.org/en/latest/api/decompile.html>.
__
On Mon, Apr 27, 2015 at 7:42 PM, Nathaniel Smith wrote:
> On Mon, Apr 27, 2015 at 4:23 PM, Neil Girdhar
> wrote:
> > I was told that numba did similar ast parsing, but maybe that's not true.
> > Regarding the ast, I don't know about reliability, but take a look at
> > get_ast in pyautodiff:
> >
On Mon, Apr 27, 2015 at 4:23 PM, Neil Girdhar wrote:
> I was told that numba did similar ast parsing, but maybe that's not true.
> Regarding the ast, I don't know about reliability, but take a look at
> get_ast in pyautodiff:
> https://github.com/LowinData/pyautodiff/blob/7973e26f1c233570ed4bb10d0
Also, FYI: http://numba.pydata.org/numba-doc/0.6/doc/modules/transforms.html
It appears that numba does get the ast similar to pyautodiff and only get
the ast from source code as a fallback?
On Mon, Apr 27, 2015 at 7:23 PM, Neil Girdhar wrote:
> I was told that numba did similar ast parsing, bu
I was told that numba did similar ast parsing, but maybe that's not true.
Regarding the ast, I don't know about reliability, but take a look at
get_ast in pyautodiff:
https://github.com/LowinData/pyautodiff/blob/7973e26f1c233570ed4bb10d08634ec7378e2152/autodiff/context.py
It looks up the __file__ a
On Apr 27, 2015 1:44 PM, "Neil Girdhar" wrote:
>
> I've always wondered why numexpr accepts strings rather than looking a
function's source code, using ast to parse it, and then transforming the
AST. I just looked at another project, pyautodiff, which does that. And I
think numba does that for l
I've always wondered why numexpr accepts strings rather than looking a
function's source code, using ast to parse it, and then transforming the
AST. I just looked at another project, pyautodiff, which does that. And I
think numba does that for llvm code generation. Wouldn't it be nicer to
just a
Hi all,
Google has just announced which students got accepted for this year's GSoC.
For Scipy these are:
- Nikolay Mayorov, "Improve nonlinear least squares minimization
functionality in SciPy"
mentors: Chuck & Evgeni
- Abraham Escalante, "SciPy: scipy.stats improvements"
mentor: Ralf (Evgeni
Announcing Numexpr 2.4.3
=
Numexpr is a fast numerical expression evaluator for NumPy. With it,
expressions that operate on arrays (like "3*a+4*b") are accelerated
and use less memory than doing the same calculation in Python.
It wears multi-threaded capabilities, as wel
On Mon, Apr 27, 2015 at 5:04 PM, Peter Cock
wrote:
> On Mon, Apr 27, 2015 at 1:04 PM, Ralf Gommers
> wrote:
> >
> > Done in the master branch of https://github.com/rgommers/vendor. I think
> > that "numpy-vendor" is a better repo name than "vendor" (which is pretty
> > much meaningless outside o
On Mon, Apr 27, 2015 at 1:04 PM, Ralf Gommers wrote:
>
> Done in the master branch of https://github.com/rgommers/vendor. I think
> that "numpy-vendor" is a better repo name than "vendor" (which is pretty
> much meaningless outside of the numpy github org), so I propose to push my
> master branch
-
Submission deadline in 3 days !!!
-
EuroScipy 2015, the annual conference on Python in science will take place in
Cambridge, UK on 26-30 August 2015. The conference features two days of
tutorials followed by two days of scientific t
15 matches
Mail list logo