Re: the war on trailing whitespace
- From
Andreas Ericsson <ae@op5.se>
- Date
- Feb 27, 2006, 14:10 UTC
- Message-ID
- <4403086F.5040704@op5.se>
- In-Reply-To
- <20060227133124.GA8794@informatik.uni-freiburg.de>
Uwe Zeisberger wrote:
Show 13 quoted lines
> Hello, > > Andreas Ericsson wrote: > >>I think the question is whether completely empty lines are also ignored >>by Python, or if they start a new block of code. Whatever the case, it >>must hold true for both 2.3 and 2.4. > > see > http://www.python.org/doc/2.2.3/ref/blank-lines.html > http://www.python.org/doc/2.3.5/ref/blank-lines.html > http://www.python.org/doc/2.4.2/ref/blank-lines.html >
So in essence, a multi-line statement is closed when a completely empty line is found, which means that making git internals recognize and strip such lines will result in Python code never being manageable by git.
-- Andreas Ericsson andreas.ericsson@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231