Python's biggest compromises

Courageous jkraska at san.rr.com
Sat Aug 2 07:31:51 CEST 2003


>> The three that come to my mind are significant whitespace, ...

"Significant whitespace" isn't a "compromise," it's a design choice.
The Python interpreter actually inserts explicit scope tokens into
the symbol stream at the lexer; the parser deals with the symbols as
does any parser. It's really not all that hard, actually. One just
has to understand the bit that making the *parser* deal with the white
space is not the right thing.

C//





More information about the Python-list mailing list