[Python-Dev] PEP 385: the eol-type issue

Georg Brandl g.brandl at gmx.net
Wed Aug 5 21:56:15 CEST 2009


Stephen J. Turnbull schrieb:

> Mark Hammond writes:
> 
>  > I'm not sure what point you are trying to make, but I believe it *is* 
>  > possible for a solution to be found here which will keep Windows users 
>  > happy.  I'm guessing you haven't had much practical experience with this 
>  > problem, so probably don't see this is clearly as Windows users do.
> 
> Mercurial is not only open source, it's written in Python.  The
> problem is known to be hard in a practical sense, the existing
> solutions (written by non-Windows developers, of course) are judged to
> be insufficient by Windows users, and the non-Windows developers
> "probably don't see this is clearly as Windows users do."
> 
> I think the implication is obvious.  There will be no good solution
> until Windows users develop it.  I don't see a good reason to wait for
> that.  I do see good reason for non-Windows users to put up with some
> inconvenience during the "beta" phase of implementing that solution;

It's not that obvious -- we at least need the server-side check that doesn't
allow "wrong" line endings as the "last" line of defense, and this check
already needs a way to know which files are supposed to have which line
endings -- deciding how to specify that is already half of the needed
solution.

Georg


-- 
Thus spake the Lord: Thou shalt indent with four spaces. No more, no less.
Four shall be the number of spaces thou shalt indent, and the number of thy
indenting shall be four. Eight shalt thou not indent, nor either indent thou
two, excepting that thou then proceed to four. Tabs are right out.



More information about the Python-Dev mailing list