New to Python - block grouping (spaces)

Marko Rauhamaa marko at
Sat Apr 18 09:00:35 CEST 2015

Ben Finney <ben+python at>:

> If you only write programs that will only ever be read by you and
> no-one else, feel free to maintain a fork of Python (or any other
> language) that suits your personal preferences.

It would be possible to define a canonical AST storage format. Then,
your editor could "incarnate" the AST in the syntax of your choosing.

A Python source file is an AST storage format, only it's not canonical.
IOW, more than one Python source file can produce identical AST's. That
isn't a problem for the specialized editors but it can be a problem for
text editors, source code control etc.


More information about the Python-list mailing list