bpo-35545: Fix asyncio discarding IPv6 scopes by lepaperwan · Pull Request #11271 · python/cpython

@lepaperwan

1st1

1st1 approved these changes Feb 14, 2019

asvetlov

@lepaperwan

@lepaperwan

@lepaperwan

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

May 17, 2019
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
(cherry picked from commit ac8eb8f)

Co-authored-by: Erwan Le Pape <lepaperwan@users.noreply.github.com>

miss-islington added a commit that referenced this pull request

May 17, 2019
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
(cherry picked from commit ac8eb8f)

Co-authored-by: Erwan Le Pape <lepaperwan@users.noreply.github.com>