[Twisted-Python] Re: [Twisted-commits] callWhenRunning interface and implementation

Andrew Bennetts andrew-twisted at puzzling.org
Mon Jul 21 18:45:40 MDT 2003


On Mon, Jul 21, 2003 at 05:56:54PM -0500, davep CVS wrote:
> Modified files:
> Twisted/ChangeLog 1.429 1.430
> Twisted/twisted/internet/base.py 1.58 1.59
> Twisted/twisted/internet/interfaces.py 1.88 1.89
> 
> Log message:
> callWhenRunning interface and implementation
[...]
> +++ Twisted/twisted/internet/interfaces.py	Mon Jul 21 17:56:22 2003
[...]
> @@ -589,6 +589,23 @@
>          """Removes a trigger added with addSystemEventTrigger.
>  
>          @param triggerID: a value returned from addSystemEventTrigger.
> +        """
> +
> +    def callWhenRunning(self, callable, *args, **kw):
> +        """Call a function when the reactor is running.
> +
> +        If the reactor has not started, the callable will be scheduled
[...]

I wonder, when we add methods to stable interfaces, if we should put a note
in the docstrings of those methods saying something like "New in 1.0.7"?

-Andrew.





More information about the Twisted-Python mailing list