Python complaints

Thomas Hamelryck thamelry at
Thu Nov 25 10:29:18 CET 1999

Tim Peters (tim_one at wrote:
: There is one (& only one) area where Python's indentation gets in my way a
: bit:  conceptual blocks that can't be written as blocks.  These typically

Right. Another example occurs in OpenGL, eg.

   glVertex2f(-0.5, -0.5)
   glVertex2f(-0.5, 0.5)
   glVertex2f(0.5, 0.5)
   glVertex2f(0.5, -0.5)

This makes the code more readable, but it's not allowed in Python. I've 
got used to the indentation rule in Python, and I'm not annoyed by it that
much anymore, but I still think it is a major mistake.


Thomas Hamelryck//Free University Brussels (VUB)
Intitute for Molecular Biology// ULTR Department
Paardestraat 65//1640 Sint-Gensius-Rode//Belgium

More information about the Python-list mailing list