[Python-3000] PEP 3108 - stdlib reorg/cleanup

Thomas Wouters thomas at python.org
Tue Apr 29 14:01:43 CEST 2008


On Tue, Apr 29, 2008 at 8:11 AM, Adam Olsen <rhamph at gmail.com> wrote:

> On Mon, Apr 28, 2008 at 8:30 PM, Brett Cannon <brett at python.org> wrote:
> >  * sched
> >
> >   + Replaced by threading.Timer.
>
> I don't see sched as obsoleted by threading.Timer.  It's much simpler
> to use (no need for locking) and more efficient (no legions of
> sleeping threads).  Instead, maybe it should be removed because it's
> trivial to reimplement as well as being overshadowed by all the other
> event loops built into bigger systems (tk, qt, gtk, twisted, etc)?
>

More importantly, sched doesn't use threads, so replacing it with
threading.Timer is inappropriate :) But yes, it should just go.

-- 
Thomas Wouters <thomas at python.org>

Hi! I'm a .signature virus! copy me into your .signature file to help me
spread!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-3000/attachments/20080429/453b6827/attachment.htm>


More information about the Python-3000 mailing list