how to convert code that uses cmp to python3

Ben Finney ben+python at benfinney.id.au
Fri Apr 8 04:07:30 EDT 2016


Antoon Pardon <antoon.pardon at rece.vub.ac.be> writes:

> Op 07-04-16 om 23:08 schreef Ben Finney:
> > You are essentially describing the new internal API of comparison
> > operators. That's pretty much unavoidable.
>
> And nobody thought about this kind of cases

I'm quite confident the API changes were thought about by many people.

> or found them important enough?

Important enough for what? You still haven't demonstrated what actual
harm is done by these API changes.

-- 
 \      “Reichel's Law: A body on vacation tends to remain on vacation |
  `\            unless acted upon by an outside force.” —Carol Reichel |
_o__)                                                                  |
Ben Finney




More information about the Python-list mailing list