]> granicus.if.org Git - python/commit
bpo-33530: Implement Happy Eyeballs in asyncio, v2 (GH-7237)
authortwisteroid ambassador <twisteroidambassador@users.noreply.github.com>
Sun, 5 May 2019 11:14:35 +0000 (19:14 +0800)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 5 May 2019 11:14:35 +0000 (04:14 -0700)
commit88f07a804a0adc0b6ee87687b59d8416113c7331
treee7fcadefb5269eb9b03c5c5946a31387ab7839e7
parentc4d92c8ada7ecfc479ebb1dd4a819c9202155970
bpo-33530: Implement Happy Eyeballs in asyncio, v2 (GH-7237)

Added two keyword arguments, `delay` and `interleave`, to
`BaseEventLoop.create_connection`. Happy eyeballs is activated if
`delay` is specified.

We now have documentation for the new arguments. `staggered_race()` is in its own module, but not exported to the main asyncio package.

https://bugs.python.org/issue33530
Doc/library/asyncio-eventloop.rst
Lib/asyncio/base_events.py
Lib/asyncio/events.py
Lib/asyncio/staggered.py [new file with mode: 0644]
Misc/NEWS.d/next/Library/2018-05-29-18-34-53.bpo-33530._4Q_bi.rst [new file with mode: 0644]