Le 31/10/2010 13:10, Martin v. Loewis a écrit :
I've a project with tabs and spaces mixed (yes I know it's bad).
I edit each file to remove tabs, but it's so easy to make a mistake.
Do you know a tools to compare the initial file with the cleaned one to
know if the algorithms are the same ?
Tools/scripts/reindent.py of the standard Python distribution normalizes
white space in source code.
So great, you save my time !
Should I be worry about this comment in reindent.py "So long as the
input files get a clean bill of health from tabnanny.py, reindent should
do a good job." ?
Thanks
--
http://mail.python.org/mailman/listinfo/python-list