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 twisteroid ambassador
Recipients asvetlov, kyuupichan, twisteroid ambassador, yselivanov
Date 2018-12-19.13:18:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1545225529.2.0.788709270274.issue35302@psf.upfronthosting.co.za>
In-reply-to
Content
IMO macOS is at fault here, for even allowing an IPv6 socket to bind to an IPv4 address. ;-)

I have given some thought about this issue when writing my happy eyeballs library. My current solution is closest to Neil's first suggestion, i.e. each pair of remote addrinfo and local addrinfo is tried in a connection attempt.
History
Date User Action Args
2018-12-19 13:18:49twisteroid ambassadorsetrecipients: + twisteroid ambassador, asvetlov, yselivanov, kyuupichan
2018-12-19 13:18:49twisteroid ambassadorsetmessageid: <1545225529.2.0.788709270274.issue35302@psf.upfronthosting.co.za>
2018-12-19 13:18:49twisteroid ambassadorlinkissue35302 messages
2018-12-19 13:18:49twisteroid ambassadorcreate