<div dir="ltr"><div>I haven't felt it, heapq feels natural to me for this use case. :-)<br><br></div>I'm aware of the issue of frequent cancelled timers, but chose to wait and see rather than preemptively fix it (only so many hours in a day). IIRC pyftplib has a clever cleanup algorithm that we can easily add if that usage pattern becomes popular.<br>

</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Mar 26, 2014 at 2:36 PM, Marko Rauhamaa <span dir="ltr"><<a href="mailto:marko@pacujo.net" target="_blank">marko@pacujo.net</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Guido van Rossum <<a href="mailto:guido@python.org">guido@python.org</a>>:<br>
<div class=""><br>
> Actually, the first step is publish it on PyPI, the second is to get a<br>
> fair number of happy users there. The bar for getting something<br>
> included into the stdlib is pretty high -- you need to demonstrate<br>
> that there is a need *and* that having it as a 3rd party module is a<br>
> problem.<br>
<br>
</div>I hear you about the process.<br>
<br>
About the need part, I'm wondering if you haven't felt it in<br>
implementing the timers for asyncio. I have had that need in several<br>
network programming projects and have ended up using my AVL tree<br>
implementation (C and Python).<br>
<br>
Well, time will tell if frequent canceled timers end up piling up the<br>
heap queue.<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
Marko<br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br>--Guido van Rossum (<a href="http://python.org/~guido">python.org/~guido</a>)
</div>