PEP8 and 4 spaces

Grant Edwards invalid at invalid.invalid
Fri Jul 4 10:28:52 EDT 2014


On 2014-07-03, Emile van Sebille <emile at fenx.com> wrote:
> On 7/3/2014 2:23 PM, Tobiah wrote:
>> I think your suggestion of having GIT handle the transformations
>> is the way we'll go.  nothing to quibble or worry about.  Well put
>> spaces in the repository since it still seems to be the community's
>> preference and I'll convert to tabs with GIT on the fly.  Problem
>> solved.
>
> Just watch out for mixed tabs and spaces in the same file -- a tab 
> counts as eight spaces and can be used interchangeably in python2.

Definitely. Indenting with tabs vs. spaces is mostly personal
preference (though spaces are better!). But, mixing the two is right
out, and should be stomped on hard.

-- 
Grant



More information about the Python-list mailing list