[issue1641] asyncore delayed calls feature

Daniel Stutzbach report at bugs.python.org
Tue May 11 19:56:27 CEST 2010


Daniel Stutzbach <daniel at stutzbachenterprises.com> added the comment:

On Tue, May 11, 2010 at 11:55 AM, Giampaolo Rodola'
<report at bugs.python.org> wrote:
> Moreover, reset() and delay() methods are not implemented in sched.
>
> Other problems which comes to mind are: you can't easily know whether a call has already been cancelled, you can't manually fire it before the timeout has expired and I'm not even sure whether it's possible to pass kwargs to enter(), which is crucial (with call_later you can do it like this: asyncore.call_later(10, function, x, y, z='foo')).

These are nice features, but wouldn't it make more sense to add them to sched?

That would provide them to other users of sched, while keeping the
asyncore code simpler.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1641>
_______________________________________


More information about the Python-bugs-list mailing list