[Python-Dev] Re: [Python-checkins] CVS: python/dist/src/Lib filecmp.py,1.6,1.7
Christian Tismer
tismer@tismer.com
Sun, 03 Dec 2000 22:01:07 +0200
Moshe Zadka wrote:
>
> Update of /cvsroot/python/python/dist/src/Lib
> In directory slayer.i.sourceforge.net:/tmp/cvs-serv9465
>
> Modified Files:
> filecmp.py
> Log Message:
> Call of _cmp had wrong number of paramereters.
> Fixed definition of _cmp.
...
> ! return not abs(cmp(a, b, sh, st))
> except os.error:
> return 2
Ugh! Wouldn't that be a fine chance to rename the cmp
function in this module? Overriding a built-in
is really not nice to have in a library.
ciao - chris
--
Christian Tismer :^) <mailto:tismer@tismer.com>
Mission Impossible 5oftware : Have a break! Take a ride on Python's
Kaunstr. 26 : *Starship* http://starship.python.net
14163 Berlin : PGP key -> http://wwwkeys.pgp.net
PGP Fingerprint E182 71C7 1A9D 66E9 9D15 D3CC D4D7 93E2 1FAE F6DF
where do you want to jump today? http://www.stackless.com