If you are not sure if the website you would like to visit is secure, you can verify it here. Enter the website address of the page and see parts of its content and the thumbnail images on this site. None (if any) dangerous scripts on the referenced page will be executed. Additionally, if the selected site contains subpages, you can verify it (review) in batches containing 5 pages.
favicon.ico: github.com/python/cpython/pull/162619/files - [3.15] gh-162606: Avoid find_u.

site address: github.com/python/cpython/pull/162619/files redirected to: github.com/python/cpython/pull/162619/files

site title: [3.15] gh-162606: Avoid find_unused_port() races in asyncio tests (GH-162607) by miss-islington · Pull Request #162619 · python/cpython · GitHub

Our opinion (on Thursday 26 November 2026 7:43:26 UTC):

GREEN status (no comments) - no comments

Meta tags:
description=gh-162606: Fix port races in asyncio connection-refused tests test_create_connection_local_addr_skip_different_family and test_sock_client_fail expected a connect to an unused port to be refused, but the port was not reserved, so a parallel test could start listening on it and the connect would succeed. Keep a bound, non-listening socket open for the duration of each test instead. Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com gh-162606: Avoid find_unused_port() races in more asyncio tests Bind servers to port 0 instead of picking a port first and binding it later, retry test_create_connection_local_addr on EADDRINUSE, and keep the port of test_open_connection_happy_eyeball_refcycles reserved on both loopback addresses so the connection is reliably refused. Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com gh-162606: Remove unused import in test_proactor_events Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com gh-162606: Accept TimeoutError for non-listening ports on macOS macOS and iOS fail a connect to a bound but non-listening port with ETIMEDOUT immediately instead of ECONNREFUSED. Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com (cherry picked from commit 4b66b87) Co-authored-by: Andrew Svetlov andrew.svetlov@gmail.com Co-authored-by: Claude Opus 5.5 noreply@anthropic.com;

Headings (most frequently used words):

gh, uh, oh, navigation, 15, 162606, avoid, find_unused_port, races, in, asyncio, tests, 162607, 162619, footer, diff, view, menu, repository, there, are, no, files, selected, for, viewing, filter, by, extension,

Text of the page (most frequently used words):
self (75), file (43), port (40), loop (39), def (30), socket (30), socket_helper (27), srv_sock (22), line (21), sock (21), the (20), expand (20), that (19), test (19), await (19), hidden (18), characters (18), unicode (18), this (17), github (17), find_unused_port (16), and (16), server (15), show (15), bind (14), diff (14), test_asyncio (14), open (13), lib (13), asyncio (13), all (12), host (12), number (12), bidirectional (12), applied (11), lambda (11), async (11), for (11), changes (10), with (10), reload (9), getsockname (9), localhost (9), cannot (8), comments (8), from (8), down (8), run_loop (8), learn (8), about (8), view (8), close (8), handle_echo (8), client (8), address (8), getaddrinfo (8), you (7), suggestion (7), suggestions (7), while (7), change (7), code (7), loading (7), false (7), myproto (7), may (7), what (7), review (7), more (7), 127 (7), sign (7), can (6), proto (6), original (6), contains (6), text (6), interpreted (6), compiled (6), differently (6), than (6), appears (6), below (6), editor (6), reveals (6), desktop (6), delete (6), edit (6), deletions (6), run_until_complete (6), httpd (6), support (6), security (5), please (5), commit (5), there (5), make_socket (5), additions (5), none (5), messages (5), sock_stream (5), import (5), another (5), your (5), not (4), pull (4), was (4), error (4), page (4), sock_connect (4), create_server (4), try (4), reserved (4), append (4), sock4 (4), open_connection (4), addr (4), ctx (4), transport (4), assertraises (4), close_after (4), local_addr (4), create_connection (4), return (4), getaddrinfo_orig (4), args (4), kwargs (4), python (4), files (4), 162606 (4), avoid (4), races (4), tests (4), 162607 (4), copilot (4), community (3), navigation (3), 2026 (3), request (3), add (3), batch (3), closed (3), retry (3), cleanup (3), test_unix_events (3), oserror (3), sock6 (3), af_inet6 (3), hostv4 (3), connections (3), bound (3), but (3), listening (3), exception (3), reader (3), writer (3), wait_closed (3), assertequal (3), test_streams (3), connectionrefusederror (3), out (3), test_sock_lowlevel (3), af_inet (3), is_ssl (3), test_sendfile (3), test_proactor_events (3), port2 (3), cpython (3), test_events (3), hide (3), whitespace (3), filter (3), commits (3), 162619 (3), merged (3), account (3), quality (3), tab (3), window (3), refresh (3), session (3), developers (3), changelog (3), customer (3), enterprise (3), grade (3), features (3), build (3), contact (2), status (2), privacy (2), terms (2), footer (2), single (2), one (2), viewing (2), toggle (2), prepare (2), 512 (2), coro (2), main (2), hostv6 (2), except (2), keep (2), client_connected_cb (2), sockets (2), start_serving (2), start_server (2), raise (2), data (2), set_exception_handler (2), 1281 (2), timeouterror (2), setblocking (2), immediately (2), instead (2), are (2), macos (2), times (2), them (2), process (2), 530 (2), reduce_receive_buffer_size (2), srv_proto (2), ssl (2), srv_ctx (2), prepare_sendfile (2), sendfile (2), 308 (2), 176 (2), test_utils (2), proactor_events (2), skip_if_tcp_blackhole (2), port1 (2), see (2), issues (2), expected (2), errno (2), try_count (2), 794 (2), selected (2), apply (2), split (2), unified (2), failed (2), load (2), jump (2), extension (2), asvetlov (2), nov (2), tree (2), miss (2), islington (2), issue (2), insights (2), projects (2), actions (2), repository (2), signed (2), universe (2), training (2), integrations (2), stories (2), center (2), documentation (2), business (2), fixes (2), products (2), secret (2), perform, action, time, share, personal, information, manage, cookies, docs, inc, right, now, check, back, later, queued, merge, multi, pending, reviews, has, been, marked, resolved, outdated, must, existing, order, create, valid, applying, deleted, lines, supported, only, per, subset, invalid, because, were, made, annotations, notes, oops, something, went, wrong, exc, skiptest, ipv6_enabled, addcleanup, resolve, fail, both, loopback, addresses, test_open_connection_happy_eyeball_refcycles, unhandled, 1351, 1347, 1339, 1335, connection, read, timeout, reported, like, coroutine, case, raised, plain, function, test_unhandled_exception_sync_callback, 1321, 1319, drain, write, msg, _basetest_unhandled_exceptions, outer, listener, test_sock_accept, finally, take, refused, other, make, sure, will, get, unused, test_sock_client_fail, _basetest_sock_recv_into, test_unix_sock_client_ops, cli_ctx, 320, 319, mysendfileproto, note, via, equal, fallback, class, sendfilemixin, sendfilebase, prepare_socksendfile, reduce_send_buffer_size, 1071, 1070, utils, os_helper, _proactordatagramtransport, _proactorduplexpipetransport, addition, test_create_connection_local_addr_nomatch_family, could, grabbed, non, reserves, refuses, https, com, 86508, test_create_connection_local_addr_skip_different_family, get_extra_info, sockname, break, else, eaddrinuse, range, taken, before, run_test_server, test_create_connection_local_addr, test_create_ssl_unix_connection, conversations, clear, filters, viewed, type, nbsp, 90b507c, select, changed, checks, conversation, into, backport, 4b66b87, already, clicking, agree, our, occasionally, send, related, emails, statement, service, free, its, maintainers, have, question, project, new, items, requests, message, dismiss, alert, switched, accounts, appearance, settings, search, pricing, event, talks, workshops, next, partners, company, forum, events, webinars, blog, resource, connect, resources, premium, advanced, ons, trust, why, evaluate, industries, government, manufacturing, financial, services, healthcare, industry, nonprofits, startups, team, enterprises, stage, businesses, source, latest, improvements, across, place, developer, articles, sponsors, trending, repos, explore, customize, certifications, scanning, leak, prevention, protection, vulnerability, detection, remediation, secure, cloud, development, environments, codespaces, analysis, enforcement, automation, ship, coding, agent, tasks, automated, work, hosting, collaboration, platform, menu, skip, content,
Thumbnail images (randomly selected): * Images may be subject to copyright.GREEN status (no comments)

Verified site has: 63 subpage(s). Do you want to verify them? Verify pages:

1-5 6-10 11-15 16-20 21-25 26-30 31-35 36-40 41-45 46-50
51-55 56-60 61-63


Top 50 hastags from of all verified websites.

Supplementary Information (add-on for SEO geeks)*- See more on header.verify-www.com

Header

HTTP/1.1 301 Moved Permanently
Content-Length 0
Location htt????/github.com/python/cpython/pull/162619/files
connection close
HTTP/2 200
date Thu, 26 Nov 2026 07:43:26 GMT
content-type text/html; charset=utf-8
vary X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With, X-GitHub-Client-Version, Sec-Fetch-Site,Accept-Encoding, Accept, X-Requested-With
cache-control no-cache
etag W/ 84402c8278bc91322b9ce796e1bd2e2b
strict-transport-security max-age=31536000; includeSubdomains; preload
x-frame-options deny
x-content-type-options nosniff
x-xss-protection 0
referrer-policy no-referrer-when-downgrade
content-security-policy default-src none ; base-uri self ; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src self uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com github.githubassets.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net productionresultssa1.blob.core.windows.net productionresultssa2.blob.core.windows.net productionresultssa3.blob.core.windows.net productionresultssa4.blob.core.windows.net productionresultssa5.blob.core.windows.net productionresultssa6.blob.core.windows.net productionresultssa7.blob.core.windows.net productionresultssa8.blob.core.windows.net productionresultssa9.blob.core.windows.net productionresultssa10.blob.core.windows.net productionresultssa11.blob.core.windows.net productionresultssa12.blob.core.windows.net productionresultssa13.blob.core.windows.net productionresultssa14.blob.core.windows.net productionresultssa15.blob.core.windows.net productionresultssa16.blob.core.windows.net productionresultssa17.blob.core.windows.net productionresultssa18.blob.core.windows.net productionresultssa19.blob.core.windows.net productionresultssa30.blob.core.windows.net productionresultssa31.blob.core.windows.net productionresultssa32.blob.core.windows.net github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com wss://alive-staging.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com wss://*.wps.githubcopilot.com wss://production-copilot-host.webpubsub.azure.com wss://production-copilot-host-centralus.webpubsub.azure.com wss://production-copilot-host-centralus-02.webpubsub.azure.com wss://production-copilot-host-westus.webpubsub.azure.com wss://production-copilot-host-westus3.webpubsub.azure.com wss://production-copilot-host-eastasia.webpubsub.azure.com wss://production-copilot-host-austriaeast.webpubsub.azure.com api.github.com/cmc_internal/api/; font-src github.githubassets.com; form-action self github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors none ; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src self data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com user-images.githubusercontent.com private-user-images.githubusercontent.com opengraph.githubassets.com repository-images.githubusercontent.com marketplace-screenshots.githubusercontent.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com explore-feed.github.com *.googleusercontent.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src self ; media-src github.com user-images.githubusercontent.com secured-user-images.githubusercontent.com private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com github.githubassets.com; script-src github.githubassets.com sha256-6nkh0w49y4npXaU0CPIq0z+XDtPnpaDFECgj6Y9vmx4= ; style-src unsafe-inline github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server github.com
content-encoding gzip
accept-ranges bytes
set-cookie _gh_sess=i9uxmTAp40w13sdLCC%2FjSoZPUkKQ50%2FyNi82N3LrGk1KygAiA%2BVS8TwG1SO%2BpqOD9mQVc0vnJxTKCdnC%2FY9jXsOuEtEkXVdz4oz4tcwj311Zm4R6GUj5rGvP8JVX%2F5shOHGK%2FgpqyPplgnrd4PIJ6OvoKbqjU124pg4%2FAu7t03gba4olhz09mgXCKeH1GO%2BjWTSDoU4uVfgatxuv%2Fczn8BMtQZpswgxHQZkd6Hn4KFLd20QjL9qEdVg52RiGyxg8gN0%2FT4pLSfrUXFoGiBTSLQ%3D%3D--%2F9CYYK90Ka%2FBCwSA--%2B9A9Tvwi021wR%2FRb7isVWQ%3D%3D; path=/; HttpOnly; secure; SameSite=Lax
set-cookie _octo=GH1.1.2081976158.1795679005; expires=Fri, 26 Nov 2027 07:43:25 GMT; domain=.github.com; path=/; secure; SameSite=Lax
set-cookie logged_in=no; expires=Fri, 26 Nov 2027 07:43:25 GMT; domain=.github.com; path=/; HttpOnly; secure; SameSite=Lax
x-github-request-id A4D4:14147E:16EF83:44D781:6B07E31D
x-github-edge-region switzerlandnorth

Meta Tags

title="[3.15] gh-162606: Avoid find_unused_port() races in asyncio tests (GH-162607) by miss-islington · Pull Request #162619 · python/cpython · GitHub"
charset="utf-8"
name="react-profiling" content="0" data-turbo-transient="true"
name="react-import-map" content="react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322" data-turbo-track="reload"
name="route-pattern" content="/:user_id/:repository/pull/:id/files(.:format)" data-turbo-transient
name="route-controller" content="pull_requests" data-turbo-transient
name="route-action" content="files" data-turbo-transient
name="fetch-nonce" content="v2:a5b974b8-5ede-883c-aefb-4dcf704988bf"
name="current-catalog-service-hash" content="ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b"
name="request-id" content="A4D4:14147E:16EF83:44D781:6B07E31D" data-pjax-transient="true"
name="html-safe-nonce" content="1f36909cee83a68f1024a100f58837b3ca1893b9a4344d382ec5e9222da1b077" data-pjax-transient="true"
name="visitor-payload" content="eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNEQ0OjE0MTQ3RToxNkVGODM6NDRENzgxOjZCMDdFMzFEIiwidmlzaXRvcl9pZCI6Ijg5NDIwMTk1MTE0NTc0MDc3NzMiLCJyZWdpb25fZWRnZSI6InN3aXR6ZXJsYW5kbm9ydGgiLCJyZWdpb25fcmVuZGVyIjoic3dpdHplcmxhbmRub3J0aCJ9" data-pjax-transient="true"
name="visitor-hmac" content="f966da8a8bf8e0fdde57cfa43d2644aa72c822ac9d97565c182c0b7d877dfbe2" data-pjax-transient="true"
name="hovercard-subject-tag" content="pull_request:5493456514" data-turbo-transient
name="github-keyboard-shortcuts" content="repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot" data-turbo-transient="true"
name="selected-link" value="repo_pulls" data-turbo-transient
name="google-site-verification" content="Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I"
name="octolytics-url" content="htt????/collector.github.com/github/collect"
name="analytics-location" content="/<user-name>/<repo-name>/pull_requests/show/files" data-turbo-transient="true"
name="user-login" content=""
name="viewport" content="width=device-width"
name="description" content='gh-162606: Fix port races in asyncio connection-refused tests test_create_connection_local_addr_skip_different_family and test_sock_client_fail expected a connect to an "unused" port to be refused, but the port was not reserved, so a parallel test could start listening on it and the connect would succeed. Keep a bound, non-listening socket open for the duration of each test instead. Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com gh-162606: Avoid find_unused_port() races in more asyncio tests Bind servers to port 0 instead of picking a port first and binding it later, retry test_create_connection_local_addr on EADDRINUSE, and keep the port of test_open_connection_happy_eyeball_refcycles reserved on both loopback addresses so the connection is reliably refused. Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com gh-162606: Remove unused import in test_proactor_events Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com gh-162606: Accept TimeoutError for non-listening ports on macOS macOS and iOS fail a connect to a bound but non-listening port with ETIMEDOUT immediately instead of ECONNREFUSED. Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com (cherry picked from commit 4b66b87) Co-authored-by: Andrew Svetlov andrew.svetlov@gmail.com Co-authored-by: Claude Opus 5.5 noreply@anthropic.com'
property="fb:app_id" content="1401488693436528"
name="apple-itunes-app" content="app-id=1477376905, app-argument=htt????/github.com/python/cpython/pull/162619/files"
name="twitter:image" content="htt????/avatars.githubusercontent.com/u/31488909?s=400&v=4"
name="twitter:site" content="@github"
name="twitter:card" content="summary_large_image"
name="twitter:title" content="[3.15] gh-162606: Avoid find_unused_port() races in asyncio tests (GH-162607) by miss-islington · Pull Request #162619 · python/cpython"
name="twitter:description" content="gh-162606: Fix port races in asyncio connection-refused tests test_create_connection_local_addr_skip_different_family and test_sock_client_fail expected a connect to an &amp;quot;unused&amp;quot; ..."
property="og:image" content="htt????/avatars.githubusercontent.com/u/31488909?s=400&v=4"
property="og:image:alt" content="gh-162606: Fix port races in asyncio connection-refused tests test_create_connection_local_addr_skip_different_family and test_sock_client_fail expected a connect to an &quot;unused&quot; port to ..."
property="og:site_name" content="GitHub"
property="og:type" content="object"
property="og:title" content="[3.15] gh-162606: Avoid find_unused_port() races in asyncio tests (GH-162607) by miss-islington · Pull Request #162619 · python/cpython"
property="og:url" content="htt????/github.com/python/cpython/pull/162619"
property="og:description" content="gh-162606: Fix port races in asyncio connection-refused tests test_create_connection_local_addr_skip_different_family and test_sock_client_fail expected a connect to an &quot;unused&quot; port to ..."
name="hostname" content="github.com"
name="expected-hostname" content="github.com"
http-equiv="x-pjax-version" content="8a77569a4d4dad6c9214514658605fbfffcbfb934833f0442c6fe1d18dbbd5f3" data-turbo-track="reload"
http-equiv="x-pjax-csp-version" content="adddfd507de4c4b0b130ff1dbf3c31681ba97e7a45dc69da056946fc5370dfd4" data-turbo-track="reload"
http-equiv="x-pjax-css-version" content="965d37e4f14c714b83113f72ac2eaeb62573839533abec322e1f4e981fa4bf41" data-turbo-track="reload"
http-equiv="x-pjax-js-version" content="7d0168e23a2b2810079baf03b0f12cd0e1e2092b544d3ac9fc0696e797ed643c" data-turbo-track="reload"
name="turbo-cache-control" content="no-preview" data-turbo-transient=""
name="diff-view" content="unified" data-turbo-transient
name="go-import" content="github.com/python/cpython git htt????/github.com/python/cpython.git"
name="octolytics-dimension-user_id" content="1525981"
name="octolytics-dimension-user_login" content="python"
name="octolytics-dimension-repository_id" content="81598961"
name="octolytics-dimension-repository_nwo" content="python/cpython"
name="octolytics-dimension-repository_public" content="true"
name="octolytics-dimension-repository_is_fork" content="false"
name="octolytics-dimension-repository_network_root_id" content="81598961"
name="octolytics-dimension-repository_network_root_nwo" content="python/cpython"
name="robots" content="noindex, nofollow"
name="turbo-body-classes" content="logged-out env-production page-responsive full-width"
name="disable-turbo" content="true"
name="browser-stats-url" content="htt????/api.github.com/_private/browser/stats"
name="browser-errors-url" content="htt????/api.github.com/_private/browser/errors"
name="release" content="b23e2273e07767111c5ecbe6358628e57161e5ee" data-turbo-track="reload"
name="ui-target" content="full"
name="theme-color" content="#1e2327"
name="color-scheme" content="light dark"

Load Info

page size76050
load time (s)1.231393
redirect count1
speed download61779
server IP 20.250.119.67
* all occurrences of the string "http://" have been changed to "htt???/"