On 9 August 2016 at 13:27, Guido van Rossum <[email protected]> wrote:

> Just don't oversell run_until_complete() -- some people coming from
> slightly different event loop paradigms expect to be able to pump for
> events at any point, possibly causing recursive invocations. That doesn't
> work here (and it's a feature it doesn't).
>

Ah, interesting - I'd only ever used it for the "synchronous code that just
wants this *particular* operation to run asynchronously in the current
thread" case, which it handles nicely :)

Cheers,
Nick.

-- 
Nick Coghlan   |   [email protected]   |   Brisbane, Australia
_______________________________________________
Python-ideas mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to