Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #106652

Re: how to convert code that uses cmp to python3

From Terry Reedy <tjreedy@udel.edu>
Newsgroups comp.lang.python
Subject Re: how to convert code that uses cmp to python3
Date 2016-04-08 02:20 -0400
Message-ID <mailman.66.1460096435.2253.python-list@python.org> (permalink)
References (3 earlier) <87a8l5p6ek.fsf@nightsong.com> <874mbdi5ai.fsf@elektro.pacujo.net> <8760vtp1d3.fsf@nightsong.com> <87pou0hgqe.fsf@elektro.pacujo.net> <ne7ij7$4ab$1@ger.gmane.org>

Show all headers | View raw


On 4/8/2016 12:22 AM, Marko Rauhamaa wrote:
> Paul Rubin <no.email@nospam.invalid>:
>
>> Marko Rauhamaa <marko@pacujo.net> writes:
>>> Guido chose a different method to implement timers for asyncio. He
>>> decided to never remove canceled timers.

Only initially.  He approved a change immediately when presented with a 
concrete problem.

>> Oh my, that might not end well. There are other approaches that don't
>> need AVL trees and can remove cancelled timers, e.g. "timer wheels" as
>> used in Erlang and formerly (don't know about now) in the Linux
>> kernel.
>
> The issue is known. It has been tackled with a kind of a "garbage
> collection" scheme:
>
>     <URL: https://bugs.python.org/issue22448>

and fixed 1 1/2 years ago.


-- 
Terry Jan Reedy

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: how to convert code that uses cmp to python3 Paul Rubin <no.email@nospam.invalid> - 2016-04-07 12:26 -0700
  Re: how to convert code that uses cmp to python3 Marko Rauhamaa <marko@pacujo.net> - 2016-04-07 22:32 +0300
    Re: how to convert code that uses cmp to python3 Paul Rubin <no.email@nospam.invalid> - 2016-04-07 14:15 -0700
      Re: how to convert code that uses cmp to python3 Marko Rauhamaa <marko@pacujo.net> - 2016-04-08 07:22 +0300
        Re: how to convert code that uses cmp to python3 Terry Reedy <tjreedy@udel.edu> - 2016-04-08 02:20 -0400
          Re: how to convert code that uses cmp to python3 Marko Rauhamaa <marko@pacujo.net> - 2016-04-08 09:53 +0300
            Re: how to convert code that uses cmp to python3 Paul Rubin <no.email@nospam.invalid> - 2016-04-08 00:03 -0700
              Re: how to convert code that uses cmp to python3 Marko Rauhamaa <marko@pacujo.net> - 2016-04-08 10:40 +0300
                Re: how to convert code that uses cmp to python3 Paul Rubin <no.email@nospam.invalid> - 2016-04-08 01:43 -0700
    Re: how to convert code that uses cmp to python3 Marko Rauhamaa <marko@pacujo.net> - 2016-04-08 07:17 +0300
      Re: how to convert code that uses cmp to python3 Ian Kelly <ian.g.kelly@gmail.com> - 2016-04-07 22:37 -0600
        Re: how to convert code that uses cmp to python3 Marko Rauhamaa <marko@pacujo.net> - 2016-04-08 08:00 +0300
    Re: how to convert code that uses cmp to python3 Terry Reedy <tjreedy@udel.edu> - 2016-04-08 02:12 -0400

csiph-web