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 yselivanov
Recipients Anthony Sottile, cecton, pitrou, yselivanov
Date 2018-05-29.15:29:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1527607752.82.0.682650639539.issue30945@psf.upfronthosting.co.za>
In-reply-to
Content
> asyncio is picking ipv6 because of this code:

> https://github.com/python/cpython/blob/a445feb72902e4a3c5ae712f0c289309e1580d52/Lib/asyncio/base_events.py#L1334-L1340

> despite my host not actually having an ipv6 network hooked up.

Which should be fine; create_server enumerates all addresses and tries to connect to each one. IPV6_V6ONLY is only applied to one socket for one IPv6 address.  I think Antoine's patch is OK.
History
Date User Action Args
2018-05-29 15:29:12yselivanovsetrecipients: + yselivanov, pitrou, Anthony Sottile, cecton
2018-05-29 15:29:12yselivanovsetmessageid: <1527607752.82.0.682650639539.issue30945@psf.upfronthosting.co.za>
2018-05-29 15:29:12yselivanovlinkissue30945 messages
2018-05-29 15:29:12yselivanovcreate