]> granicus.if.org Git - python/commit
bpo-35545: Fix asyncio discarding IPv6 scopes (GH-11271)
authorErwan Le Pape <lepaperwan@users.noreply.github.com>
Fri, 17 May 2019 08:28:39 +0000 (10:28 +0200)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 17 May 2019 08:28:39 +0000 (01:28 -0700)
commitac8eb8f36bf7ca636f8d886eb65a3b532f4725d5
treeee22645473384845c6a8911ef3061cdc1fca3766
parent14514d9084a40f599c57da853a305aa264562a43
bpo-35545: Fix asyncio discarding IPv6 scopes  (GH-11271)

This PR proposes a solution to [bpo-35545](https://bugs.python.org/issue35545) by adding an optional `flowinfo` and `scopeid` to `asyncio.base_events._ipaddr_info` to carry the full address information into `_ipaddr_info` and avoid discarding IPv6 specific information.

Changelog entry & regression tests to come.

https://bugs.python.org/issue35545
Lib/asyncio/base_events.py
Lib/test/test_asyncio/test_base_events.py
Misc/NEWS.d/next/Library/2019-05-11-16-21-29.bpo-35545.FcvJvP.rst [new file with mode: 0644]