[Python-ideas] Suggestion: Integrate the script "pindent.py" as standard command for formatting pyhton code

Benjamin Peterson benjamin at python.org
Thu May 26 22:19:37 CEST 2011


Serge Hulne <serge.hulne at ...> writes:

> 
> 
> Suggestion: Integrate the script "pindent.py"

A more useful script in my opinion is "reindent.py".

> 
> A copy/paste went wrong
> The indentation of a Python source got corrupted when the script was posted on
web page, send via email etc ...
> Standardise (fix) sources which happily mix whitespaces and tabs 

Since it does just this and nothing else.







More information about the Python-ideas mailing list