[Python-3000] AST access (WAS: Adaptation vs. Generic Functions)

Greg Ewing greg.ewing at canterbury.ac.nz
Mon Apr 10 02:49:58 CEST 2006


Robert Brewer wrote:
> Part of the benefit of the bytecode-hacking is that your expression 
> never has to be in a string.

I'm wondering whether there should be some kind of
"code literal" syntax, where you write a Python
expression and the compiler transforms it as far
as the AST stage, then makes it available to the
program as an AST object.

Or would that be too close to "programmable
syntax" for Guido's liking?

--
Greg


More information about the Python-3000 mailing list