gh-82082: Make our test suite pass on an IPv6-only Linux host by gpshead · Pull Request #26225 · python/cpython · GitHub

github.com

Tin mới

gpshead:ipv6_only_fixes

GitHub CopilotWrite better code with AI

GitHub Copilot appDirect agents from issue to merge

ActionsAutomate any workflow

CodespacesInstant dev environments

IssuesPlan and track work

Code ReviewManage code changes

Code QualityEnforce quality at merge

GitHub Advanced SecurityFind and fix vulnerabilities

Code securitySecure your code as you build

Secret protectionStop leaks before they start

View all use cases

Financial services

View all industries

Software Development

GitHub SponsorsFund open source developers

Copilot for BusinessEnterprise-grade AI features

Premium SupportEnterprise-grade 24/7 support

Pull requests 2.6k

Security and quality 0

21 tests fail when run on an IPv6-only host #82082

Support helpers for running on non-IPv4 IPv6-only hosts.

Fixes eight testsuites to work on IPv6-only hosts.

Make test_support pass on IPv6 only.

Make test_os work on IPv6-only.

fix test_telnetlib IPv6-only, introduce get_family helper.

Fix test_urllib2_localnet for IPv6-only.

tcp_socket() to replace socket.socket() in tests.

make test_ssl pass on IPv6-only.

Make test_httplib pass IPv6-only.

Make test_wsgiref pass on IPv6-only.

fix test_smtplib for IPv6-only.

Fix test_poplib for IPv6-only.

Make test_asyncore IPv6-only friendly.

make test_asynchat IPv6-only friendly.

Add udp_socket(), use SkipTest.

Allow test_socket to work on IPv6-only hosts.

cleanup test names to clarify IPv4 status.

Add AF_INET6 support to multiprocessing IPC.

awaiting core review

awaiting core review

Fix test_httpservers for IPv6-only hosts.

If starting a logging config server on AF_INET fails, try AF_INET6.

Fix test_logging for use on IPv6-only hosts.

Make test_xmlrpc work on IPv6-only hosts rather than hang.

Prevent test_asyncio from hanging on an IPv6-only host.

Fix test_asyncio.test_streams to work on IPv6-only.

Fix socket_helper sock vs tempsock paste error..

View reviewed changes

Learn more about hiding disruptive comments

The reason will be displayed to describe this comment to others. Learn more.

socket_helper typo (yes, find_unused_port is too ugly...)