Why Python style guide (PEP-8) says 4 space indents instead of 8 space??? 8 space indents ever ok??
Peter Hansen
peter at engcorp.com
Wed Oct 22 19:58:14 EDT 2003
Francis Avila wrote:
>
> Given that 4 spaces is overwhelmingly dominant in Python code, shouldn't
> that behavior be changed, so that '\t'==' '*4?
>
> Or perhaps python should have a heuristic, where the first first-level
> indent in the file which is indented entirely by spaces establishes the
> number of spaces that a tab character should be equivalent to.
Anyone who believes there is or will be anything new in this discussion
hasn't been reading comp.lang.python or the mailing list nearly long enough.
Check the archives if you are having trouble falling asleep tonight,
and keep in mind the utter futility of writing anything more on this
subject (unless you just like to see yourself in print). :-)
-Peter
More information about the Python-list
mailing list