On Sun, May 13, 2018 at 1:40 AM, twisteroid ambassador <twisteroid.ambassador@gmail.com> wrote:
Repo: https://github.com/twisteroidambassador/async_stagger Docs: http://async-stagger.readthedocs.io/en/latest/
Provides near drop-in replacements for open_connection() and create_connection() using Happy Eyeballs. Also exposes the underlying scheduling logic where you can plug in your own coroutines to run.
I basically ported trio's implementation to asyncio, and it turned out to be not too difficult.
A few people in trio's chat channel have been experimenting with strategies for implementing it in gevent, and folks might find the strategies they've been coming up with interesting too: https://gist.github.com/davidkhess/bc213e643db2581ee830a1e706e85f8f https://gist.github.com/ssanderson/f625716602a4bd7c8ead0dd4befad8ea There's some discussion starting here, and continuing through today: https://gitter.im/python-trio/general?at=5afa458bb84be71db908becd -n -- Nathaniel J. Smith -- https://vorpus.org