[Async-sig] A possible tiny step towards event loop interoperability

Yury Selivanov yselivanov at gmail.com
Fri Jun 3 19:37:11 EDT 2016


Given all the differences of let’s say curio vs asyncio, I don’t
see any real-world scenario where such function would be useful.

Yury

> On Jun 3, 2016, at 6:26 PM, Nathaniel Smith <njs at pobox.com> wrote:
> 
> Convincing everyone to agree on a single event loop API sounds hard.
> 
> But maybe it would be useful to start with a baby step of defining a
> standard way for a coroutine to ask the event loop who it is, e.g.
> 
>  await what_event_loop_is_this()
>    -> "asyncio"
>    -> "curio"
>    -> ...
> 
> ?
> 
> -n
> 
> -- 
> Nathaniel J. Smith -- https://vorpus.org
> _______________________________________________
> Async-sig mailing list
> Async-sig at python.org
> https://mail.python.org/mailman/listinfo/async-sig
> Code of Conduct: https://www.python.org/psf/codeofconduct/



More information about the Async-sig mailing list