[Python-Dev] Enable access to the AST for Python code
Steve.Dower at microsoft.com
Thu May 21 15:05:29 CEST 2015
It's only a macro system when you generate code in unexpected/unobvious places with it. This is more like inspect.getsource(), but going straight to the AST.
Top-posted from my Windows Phone
From: Greg Ewing<mailto:greg.ewing at canterbury.ac.nz>
Sent: 5/20/2015 22:33
To: Python-Dev<mailto:python-dev at python.org>
Subject: Re: [Python-Dev] Enable access to the AST for Python code
Guido van Rossum wrote:
> Hey Ben, this is probably a better topic for python-ideas. I'll warn you
> that a hurdle for ideas like this is that ideally you don't want to
> support this just for CPython. It's definitely cool though!
This would effectively be a macro system. I thought
your position on macros was that they're uncool?
If you've changed your mind about this, that's cool
too -- just checking.
Python-Dev mailing list
Python-Dev at python.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-Dev