how to convert code that uses cmp to python3

Marko Rauhamaa marko at pacujo.net
Fri Apr 8 01:00:40 EDT 2016


Ian Kelly <ian.g.kelly at gmail.com>:

> On Apr 7, 2016 10:22 PM, "Marko Rauhamaa" <marko at pacujo.net> wrote:
>> The keys are expiry times. You could use numbers or you could use
>> datetime objects.
>
> Yes, but why would you want to use both?

I was never talking about mixing key types. I was simply reacting (out
of context) to a suggestion that AVL trees are simply dictionaries.


Marko



More information about the Python-list mailing list