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.

Cheers,
Steve

Top-posted from my Windows Phone
________________________________
From: Greg Ewing<mailto:greg.ew...@canterbury.ac.nz>
Sent: ‎5/‎20/‎2015 22:33
To: Python-Dev<mailto:python-dev@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.

--
Greg
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/steve.dower%40microsoft.com
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to