This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author twisteroid ambassador
Recipients Yury.Selivanov, asvetlov, twisteroid ambassador, yselivanov
Date 2018-05-16.02:56:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1526439388.6.0.682650639539.issue33530@psf.upfronthosting.co.za>
In-reply-to
Content
Add a Happy Eyeballs implementation to asyncio, based on work in https://github.com/twisteroidambassador/async_stagger .

Current plans:

- Add 2 keyword arguments to loop.create_connection and asyncio.open_connection.

    * delay: Optional[float] = None. None disables happy eyeballs. A number >= 0 means the delay between starting new connections.

    * interleave: int = 1. Controls reordering of resolved IP addresses by address family.

- Optionally, expose the happy eyeballs scheduling helper function. 

    * It's currently called "staggered_race()". Suggestions for a better name welcome.

    * Should it belong to base_events.py, some other existing file or a new file?
History
Date User Action Args
2018-05-16 02:56:28twisteroid ambassadorsetrecipients: + twisteroid ambassador, asvetlov, Yury.Selivanov, yselivanov
2018-05-16 02:56:28twisteroid ambassadorsetmessageid: <1526439388.6.0.682650639539.issue33530@psf.upfronthosting.co.za>
2018-05-16 02:56:28twisteroid ambassadorlinkissue33530 messages
2018-05-16 02:56:27twisteroid ambassadorcreate