[docs] https://docs.python.org/3/library/asyncio-eventloop.html

Andrew Svetlov andrew.svetlov at gmail.com
Sat May 25 04:27:41 EDT 2019


Pull Request is welcome!

On Sat, May 25, 2019 at 10:43 AM Dylan Kirby <dylan at pagefreezer.com> wrote:
>
> Hello,
>
> I'm suggesting a minor tweak to the documentation around the Asyncio event loop, specifically the run_until_complete method.
>
> The run_forever method explicitly states that the loop will run until stop is called which is great.
>
> In run_until_complete, there is no mention of it, but stop will be called once the loop is done processing the future/coroutine it's passed.
>
> A colleague and I ran into some issues around this, and after digging through the source code determined that run_until_complete will in fact call run_forever, and subsequently call stop.
>
> It would be beneficial if that was reference to this in the documentation for that method.
>
> Regards,
>
> Dylan
> _______________________________________________
> docs mailing list
> docs at python.org
> https://mail.python.org/mailman/listinfo/docs



-- 
Thanks,
Andrew Svetlov


More information about the docs mailing list