New submission from twisteroid ambassador <twisteroid.ambassa...@gmail.com>:

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?

----------
components: asyncio
messages: 316757
nosy: Yury.Selivanov, asvetlov, twisteroid ambassador, yselivanov
priority: normal
severity: normal
status: open
title: Implement Happy Eyeball in asyncio
type: enhancement
versions: Python 3.8

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue33530>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to