Re: [Python-ideas] enhance filecmp to support text-and-universal-newline-mode file comparison

[Please keep the discussion in the list. Also, please avoid top posting (corrected below)]
--- El vie 19-jun-09, zhong nanhai <higerinbeijing@gmail.com> escribió:
You can see it yourself, in lib/filecmp.py in your Python installation. It does a binary comparison only -- and it does not read anything if file sizes differ. A text comparison should use a different algorithm; the code above already ignores end-of-line differences and breaks as soon as two lines differ. One could enhance it to add support for other options as menctioned earlier. -- Gabriel Genellina ____________________________________________________________________________________ ¡Viví la mejor experiencia en la web! Descargá gratis el nuevo Internet Explorer 8 http://downloads.yahoo.com/ieak8/?l=ar
participants (1)
-
gagsl-py2@yahoo.com.ar