Yes, and that's how it works. But maybe one of the callbacks that *will*
run schedules another callback, and that one won't run.


On Fri, Mar 14, 2014 at 6:20 PM, Juraj Ivančić <[email protected]>wrote:

> On 14.3.2014. 19:33, Guido van Rossum wrote:
>
>  But when you stop the loop, the callback never runs (it is stuck in the
>> loop's _ready queue)
>>
>
> Just crossed my mind... isn't loop.stop() supposed to wait for all
> scheduled callbacks to run? Docs clearly state:
>
> "Every callback scheduled before stop() is called will run."
>
>


-- 
--Guido van Rossum (python.org/~guido)

Reply via email to