binary file woes... (was: Re: chr(26) => file reading bug)
Gordon McMillan
gmcm at hypernet.com
Tue Mar 28 16:21:05 EST 2000
Just van Rossum wrote:
> At 4:04 PM -0500 28-03-2000, Jeff Senn wrote:
> >Reminds me -- I noticed the other day that 'cmp.py' opens files in
> >default/non-binary mode which nearly caused me to delete a whole bunch
> >of non-different files... :-( given the name of the module and the
> >analogous unix command -- this is probably the wrong behavior...
>
> It has been fixed in the CVS version, and two patches later the entire
> module was declared obsolete...
It's still there, just named "filecmp.py" (so as not to clash with
the builtin). Actually, dircmp and some related stuff has also
been folded in.
- Gordon
More information about the Python-list
mailing list