Steve Dower added the comment:

It's possible, but the eol extension is the best way to handle it.

Doing the comparison is relatively easy (we can just strip all '\r' and '\n' 
characters and compare), but if it has changed, it's much harder to update the 
new file to match whatever the old file had. With eol, it'll always be \r\n and 
it Just Works.

Leave this on me to update the check. If someone does try and push a change 
with EOL changes it'll be blocked anyway.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23461>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to