New to Python - block grouping (spaces)

Rustom Mody rustompmody at
Mon Apr 20 04:00:19 CEST 2015

On Monday, April 20, 2015 at 2:11:13 AM UTC+5:30, Marko Rauhamaa wrote:
> Michael Torrie:
> > On 04/18/2015 01:00 AM, Marko Rauhamaa wrote:
> >> It would be possible to define a canonical AST storage format. Then,
> >> your editor could "incarnate" the AST in the syntax of your choosing.
> >
> > As was just mentioned in another part of the thread, what you're
> > describing is essentially LISP.
> I don't see how that is more essentially Lisp than Python.
> Lisp has a noncanonical textual representation just like Python.
> Marko

Technically correct
Pragmatically: its like saying a meal that costs a penny, 100 EURO and 10K EURO
are all the same.
In C, access to parsing /unparsing is one of open up gcc/use lex/yacc
In python, it is use the introspective module(s)
In lisp its one call (read)/(print) -- at most; none if the REPL is used

More information about the Python-list mailing list