Bill Janssen wrote: > I think we should just replace the current "loop" with this (and add > the "schedule" function). Then other folks won't have to figure out > how the module works and write their own loop.
Having beaten my way down this road of broken glass, I would like args and kwargs if you are adding this: def schedule(delta, fn, *args, **kwargs): heap.heappush(tasks, (time.time()+delta, (fn, args, kwargs))) ... callme[0](*callme[1], **callme[2]) Joel _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com