On 9/1/2012 10:30 PM, alessandromour...@googlemail.com wrote:
Hi,
I would like to access the AST of a python object at runtime. I mean,
if I have this:
def f(x): return x*x/2
Is there any way to interrogate the object f to find out the AST of
the expression x*x/2 ? Of course if the definition
On Sunday, 2 September 2012 08:00:59 UTC+5:30, (unknown) wrote:
> Hi,
>
>
>
> I would like to access the AST of a python object at runtime. I mean, if I
> have this:
>
>
>
> def f(x): return x*x/2
>
>
>
> Is there any way to interrogate the object f to find out the AST of the
> expressi