All leading tabs or all leading spaces - why isn't that enforced?

Steve Holden steve at holdenweb.com
Mon Aug 6 23:52:43 EDT 2007


John Nagle wrote:
>    One can argue over tab vs. space indentation, but mixing the two
> is just wrong.  Why not have CPython report an error if a file has
> both leading tabs and leading spaces?  I know that was proposed at
> some point, but I don't think it ever went in. That would catch a
> common error introduced during maintenance.
> 
I suppose we Pythonistas are just too permissive for our own good. 
Consider the opportunity to use mixed tabs and spaces a piece of rope of 
your preferred length ...

regards
  Steve
-- 
Steve Holden        +1 571 484 6266   +1 800 494 3119
Holden Web LLC/Ltd           http://www.holdenweb.com
Skype: holdenweb      http://del.icio.us/steve.holden
--------------- Asciimercial ------------------
Get on the web: Blog, lens and tag the Internet
Many services currently offer free registration
----------- Thank You for Reading -------------




More information about the Python-list mailing list