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/162607/files - gh-162606: Avoid find_unused_p.

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

site title: gh-162606: Avoid find_unused_port() races in asyncio tests by asvetlov · Pull Request #162607 · python/cpython · GitHub

Our opinion (on Thursday 26 November 2026 8:54:42 UTC):

GREEN status (no comments) - no comments

Meta tags:
description=Several asyncio tests picked a port with find_unused_port() and used it later, so a parallel test could take it in between. Tests that expect a refused connection keep a bound, non-listening socket open for the whole test. Servers bind to port 0 instead of a pre-picked port. test_create_connection_local_addr retries on EADDRINUSE. 🤖 Generated with Claude Code Issue: gh-162606;

Headings (most frequently used words):

navigation, uh, oh, gh, 162606, avoid, find_unused_port, races, in, asyncio, tests, 162607, 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 (41), 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), github (17), this (16), find_unused_port (16), and (16), server (15), show (15), bind (14), diff (14), test_asyncio (14), asyncio (14), open (13), lib (13), all (12), host (12), number (12), bidirectional (12), for (12), applied (11), lambda (11), async (11), changes (10), with (10), getsockname (9), localhost (9), cannot (8), comments (8), from (8), reload (8), down (8), run_loop (8), learn (8), more (8), about (8), view (8), close (8), handle_echo (8), client (8), address (8), getaddrinfo (8), you (7), suggestion (7), suggestions (7), change (7), code (7), false (7), myproto (7), may (7), what (7), review (7), 127 (7), asvetlov (7), 162606 (7), sign (7), can (6), 2026 (6), while (6), loading (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), import (6), support (6), security (5), make_socket (5), additions (5), none (5), messages (5), sock_stream (5), another (5), nov (5), races (5), tests (5), commits (5), your (5), not (4), please (4), pull (4), there (4), sock_connect (4), create_server (4), try (4), append (4), reserved (4), sock4 (4), listening (4), addr (4), open_connection (4), ctx (4), transport (4), assertraises (4), close_after (4), test_proactor_events (4), local_addr (4), create_connection (4), kwargs (4), args (4), getaddrinfo_orig (4), return (4), python (4), cpython (4), files (4), avoid (4), copilot (4), community (3), navigation (3), request (3), add (3), batch (3), commit (3), closed (3), was (3), error (3), page (3), retry (3), cleanup (3), test_unix_events (3), main (3), oserror (3), sock6 (3), af_inet6 (3), hostv4 (3), connections (3), bound (3), but (3), exception (3), reader (3), writer (3), wait_closed (3), assertequal (3), test_streams (3), timeouterror (3), connectionrefusederror (3), out (3), macos (3), test_sock_lowlevel (3), af_inet (3), is_ssl (3), test_sendfile (3), port2 (3), test_events (3), hide (3), whitespace (3), filter (3), 162607 (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), 563 (2), coro (2), hostv6 (2), except (2), keep (2), client_connected_cb (2), sockets (2), start_serving (2), start_server (2), raise (2), connection (2), data (2), set_exception_handler (2), 1289 (2), setblocking (2), immediately (2), instead (2), are (2), refused (2), times (2), them (2), process (2), unused (2), 530 (2), reduce_receive_buffer_size (2), srv_ctx (2), ssl (2), srv_proto (2), prepare_sendfile (2), sendfile (2), 308 (2), 176 (2), test_utils (2), proactor_events (2), skip_if_tcp_blackhole (2), port1 (2), non (2), see (2), issues (2), expected (2), try_count (2), errno (2), range (2), 795 (2), selected (2), apply (2), split (2), unified (2), failed (2), load (2), jump (2), extension (2), select (2), tree (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, 1359, 1355, 1347, 1343, read, timeout, reported, like, coroutine, case, raised, plain, function, test_unhandled_exception_sync_callback, 1329, 1327, drain, msg, write, _basetest_unhandled_exceptions, outer, listener, test_sock_accept, finally, take, other, make, sure, will, get, 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, reserves, refuses, https, com, 86508, test_create_connection_local_addr_skip_different_family, sockname, get_extra_info, break, else, eaddrinuse, taken, before, run_test_server, test_create_connection_local_addr, test_create_ssl_unix_connection, conversations, clear, filters, viewed, type, nbsp, accept, ports, 9d644d8, remove, 17bb445, 0a9424c, fix, 58f0566, hold, shift, click, changed, checks, conversation, into, claude, job, failure, 2d136b, 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: 66 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-65 66-66


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/162607/files
connection close
HTTP/2 200
date Thu, 26 Nov 2026 08:54:41 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/ a9a2641b53a912daa1baf29a63bb4356
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=6mgcgPQsmgqhpBJ%2BCQ0A56GdS56Ahuiabxb33h0RzgdkLDwKzC7W8ne8e5cPT3TGXz8WlDoxDjrVdTtErQzb91Hesnyg0EV%2FGYg81h6GQ3FBqnJj4vpVlsSWhEcSMD5YZNJiPpkRgl1kmrA7r80EKcYoHOnDv79Fyzsn8NXRRJ%2BbT0K4a%2BW1jmIn1bycXjTM9ZhSYw%2FmFoCpdJhABhF0fCoTSMZgY310yz9e8gvpF%2Fgag10KREWVJ8lKs8kXSevs1XFF5tWJuhbIvf6sr9HQgQ%3D%3D--n8KF6bkeBoZXjIQ%2B--Dne0Syg48bsIs8yhVJtAaw%3D%3D; path=/; HttpOnly; secure; SameSite=Lax
set-cookie _octo=GH1.1.2090535785.1795683280; expires=Fri, 26 Nov 2027 08:54:40 GMT; domain=.github.com; path=/; secure; SameSite=Lax
set-cookie logged_in=no; expires=Fri, 26 Nov 2027 08:54:40 GMT; domain=.github.com; path=/; HttpOnly; secure; SameSite=Lax
x-github-request-id C172:398CB5:4016C:8E4A3:6B07F3D0
x-github-edge-region switzerlandnorth

Meta Tags

title="gh-162606: Avoid find_unused_port() races in asyncio tests by asvetlov · Pull Request #162607 · 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:fa652e82-79aa-ce01-1a0a-de30159387a5"
name="current-catalog-service-hash" content="ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b"
name="request-id" content="C172:398CB5:4016C:8E4A3:6B07F3D0" data-pjax-transient="true"
name="html-safe-nonce" content="67d7d47427212cf925082470cabdd37a05411d8782d4118a7fa13dd849af1f1a" data-pjax-transient="true"
name="visitor-payload" content="eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMTcyOjM5OENCNTo0MDE2Qzo4RTRBMzo2QjA3RjNEMCIsInZpc2l0b3JfaWQiOiI4OTc4NzgyODI5NDg4MzcwNjQwIiwicmVnaW9uX2VkZ2UiOiJzd2l0emVybGFuZG5vcnRoIiwicmVnaW9uX3JlbmRlciI6InN3aXR6ZXJsYW5kbm9ydGgifQ==" data-pjax-transient="true"
name="visitor-hmac" content="1ad6f90e1aace35f285feea673e03d3440917e9d2546d1affb7c38993dde3689" data-pjax-transient="true"
name="hovercard-subject-tag" content="pull_request:5486122062" 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="Several asyncio tests picked a port with find_unused_port() and used it later, so a parallel test could take it in between. Tests that expect a refused connection keep a bound, non-listening socket open for the whole test. Servers bind to port 0 instead of a pre-picked port. test_create_connection_local_addr retries on EADDRINUSE. 🤖 Generated with Claude Code Issue: gh-162606"
property="fb:app_id" content="1401488693436528"
name="apple-itunes-app" content="app-id=1477376905, app-argument=htt????/github.com/python/cpython/pull/162607/files"
name="twitter:image" content="htt????/avatars.githubusercontent.com/u/356399?s=400&v=4"
name="twitter:site" content="@github"
name="twitter:card" content="summary_large_image"
name="twitter:title" content="gh-162606: Avoid find_unused_port() races in asyncio tests by asvetlov · Pull Request #162607 · python/cpython"
name="twitter:description" content="Several asyncio tests picked a port with find_unused_port() and used it later, so a parallel test could take it in between. Tests that expect a refused connection keep a bound, non-listening socke..."
property="og:image" content="htt????/avatars.githubusercontent.com/u/356399?s=400&v=4"
property="og:image:alt" content="Several asyncio tests picked a port with find_unused_port() and used it later, so a parallel test could take it in between. Tests that expect a refused connection keep a bound, non-listening socke..."
property="og:site_name" content="GitHub"
property="og:type" content="object"
property="og:title" content="gh-162606: Avoid find_unused_port() races in asyncio tests by asvetlov · Pull Request #162607 · python/cpython"
property="og:url" content="htt????/github.com/python/cpython/pull/162607"
property="og:description" content="Several asyncio tests picked a port with find_unused_port() and used it later, so a parallel test could take it in between. Tests that expect a refused connection keep a bound, non-listening socke..."
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 size77229
load time (s)1.231393
redirect count1
speed download62736
server IP 20.208.89.80
* all occurrences of the string "http://" have been changed to "htt???/"