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 neologix
Recipients neologix, pitrou, pwouters
Date 2011-04-27.21:02:29
SpamBayes Score 5.610301e-09
Marked as misclassified No
Message-id <1303938150.16.0.872505393751.issue11811@psf.upfronthosting.co.za>
In-reply-to
Content
A patch is attached, along with corresponding test.
Notes:
- since I don't have an IPv6 internet connectivity, I could only test it locally
- I chose 'ipv6.google.com' as SSL server for the test. If it's a problem, I can change it for svn.python.org (it'll just take a couple more lines to make sure that we're using IPv6 and not IPv4)
- while writting the test, I needed a way to find whether IPv6 is supported on the current host (socket.has_ipv6 only tells you that the interpreter has been built with IPv6 support, not that the OS has an IPv6 stack enabled). So instead of rewritting what's already done in test_socket, I added a new is_ipv6_enabled function in Lib/test/support.py, and modified test_socket, test_ftplib and test_ssl to use it. This patch (is_ipv6_enabled.diff) must be applied before ssl_ipv6.diff.
History
Date User Action Args
2011-04-27 21:02:30neologixsetrecipients: + neologix, pitrou, pwouters
2011-04-27 21:02:30neologixsetmessageid: <1303938150.16.0.872505393751.issue11811@psf.upfronthosting.co.za>
2011-04-27 21:02:29neologixlinkissue11811 messages
2011-04-27 21:02:29neologixcreate