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/156973/files - gh-144446: Fix thread-safety o.

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

site title: gh-144446: Fix thread-safety of FrameLocalsProxy on executing frames by kumaraditya303 · Pull Request #156973 · python/cpython · GitHub

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

GREEN status (no comments) - no comments

Meta tags:
description=Synchronize FrameLocalsProxy accesses with the frame s owning thread: fast locals are accessed under the frame object s critical section, and with the world stopped when the frame may be executing on another thread. Changes: Only the fast locals read and write run in the synchronized region. Key lookup (__hash__ / __eq__) runs outside it, so no Python code is executed while the world is stopped. The extra locals dict is never touched by the running frame, so it does not need stop-the-world. It is fetched under the frame s critical section and used with the dict s own locking. The value replaced in a cell is decref d after the region, since its destructor can run arbitrary code. keys(), values(), items() and len() snapshot the fast locals in the region and hold the extra locals dict s critical section while iterating it. PyFrame_GetVar is synchronized the same way. Co-authored-by: Sam Gross colesbury@gmail.com Issue: gh-144446;

Headings (most frequently used words):

uh, oh, navigation, gh, 144446, fix, thread, safety, of, framelocalsproxy, on, executing, frames, 156973, footer, diff, view, menu, repository, there, are, no, files, selected, for, viewing, filter, by, extension,

Text of the page (most frequently used words):
def (51), frame (43), f_locals (40), self (37), for (28), file (25), the (24), and (22), reader (19), runner (18), range (18), github (17), key (17), barrier (16), next (15), this (14), writer (14), 2026 (13), line (12), gen_fn (12), applied (11), while (11), kumaraditya303 (11), that (10), 144446 (10), yield (10), reload (9), diff (9), show (9), hidden (9), characters (9), unicode (9), test (9), extra (9), value (9), proxy (9), code (8), all (8), loading (8), threading_helper (8), wait (8), with (8), assertequal (8), you (7), suggestion (7), cannot (7), suggestions (7), changes (7), thread (7), open (7), close (7), obj (7), 100 (7), gi_frame (7), list (7), import (7), support (7), nov (7), sign (7), comments (6), executing (6), number (6), bidirectional (6), none (6), old (6), get (6), test_frame (6), framelocalsproxy (6), can (5), security (5), please (5), from (5), must (5), there (5), frames (5), another (5), fix (5), safety (5), review (5), learn (5), about (5), view (5), issue (5), expand (5), run_concurrently (5), threading (5), other (5), return (5), class (5), new (5), ref (5), run_with_frame (5), lib (5), commits (5), your (5), pull (4), change (4), deleted (4), add (4), was (4), error (4), page (4), retry (4), build (4), what (4), more (4), rst (4), clear (4), locals (4), values (4), __hash__ (4), generator (4), gen (4), into (4), files (4), python (4), copilot (4), not (3), community (3), navigation (3), request (3), merge (3), batch (3), commit (3), original (3), contains (3), text (3), may (3), interpreted (3), compiled (3), differently (3), than (3), appears (3), below (3), editor (3), reveals (3), desktop (3), delete (3), edit (3), misc (3), news (3), core_and_builtins (3), pq7wxn (3), additions (3), down (3), pass (3), _testcapi (3), 2000 (3), items (3), pop (3), sys (3), locals_dict (3), test_free_threading (3), hide (3), whitespace (3), nbsp (3), filter (3), main (3), cpython (3), 156973 (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), contact (2), status (2), privacy (2), terms (2), footer (2), single (2), one (2), viewing (2), closed (2), toggle (2), oops (2), something (2), went (2), wrong (2), free (2), pyframe_getvar (2), deletions (2), reads (2), import_helper (2), keys (2), _getframe (2), are (2), assertraises (2), assertin (2), assertnotin (2), collect (2), __eq__ (2), run (2), world (2), cell (2), make_gen (2), dropper (2), del (2), moves (2), object (2), new_var (2), true (2), writes (2), str (2), iterator (2), hello (2), 264 (2), outer (2), its (2), 162593 (2), 780 (2), selected (2), frameobject (2), objects (2), apply (2), split (2), unified (2), failed (2), load (2), jump (2), extension (2), tests (2), branch (2), remove (2), select (2), tree (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, multi, pending, reviews, has, been, marked, resolved, outdated, existing, order, create, valid, applying, lines, supported, only, per, subset, invalid, because, were, made, annotations, notes, threaded, func, attr, create_frame, race, between, attribute, test_concurrent_frame_clear, nameerror, except, frame_getvar, try, import_module, owner, well, fast, synchronize, test_gen_getvar_while_running, 5000, lambda, iterate, they, modified, test_concurrent_f_locals_extra_iteration, keyerror, valueerror, isinstance, hash, __init__, stopped, test_gen_f_locals_key_runs_python_code, replace, destructor, runs, append, __del__, nonlocal, released, after, restarts, test_gen_setitem_cell_old_value_destructor_stw, dropped, ownership, access, last, reference, test_gen_f_locals_dying_generator, 200, 500, through, synchronized, resuming, test_gen_f_locals_write_suspended, len, reading, test_gen_f_locals_read_while_running, test_concurrent_f_locals_iteration, test_concurrent_f_locals_read_write, test_concurrent_f_locals_write, test_concurrent_f_locals_read_values, 122, 123, 267, module, requires_working_threading, unittest, functools, 263, deletion, behaves, like, mapping, exceptions, testhashmappingprotocol, mapping_tests, framelocalsproxymappingtests, test_setitem_free_var_cleared_frame, assertis, gc_collect, super, weakref, lookup, which, closes, test_setitem_key_closes_generator, conversations, filters, viewed, types, cleare, a934113, a631ae5, https, com, 1444, e94a203, config, a4cae67, some, 5faa4b5, address, minimize, 41630d2, sep, better, d33c175, aug, 44c1536, hold, shift, click, changed, checks, conversation, 559, already, clicking, agree, our, occasionally, send, related, emails, statement, service, maintainers, have, question, project, requests, issues, message, dismiss, alert, switched, accounts, out, appearance, settings, search, pricing, event, talks, workshops, partners, company, forum, events, webinars, blog, resource, connect, resources, premium, advanced, ons, trust, why, evaluate, see, 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: 67 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-67


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/156973/files
connection close
HTTP/2 200
date Thu, 26 Nov 2026 07:40: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/ a6bd2b528cb9897c0a0f83177b7d74f0
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=GATzZaWUW%2Bwnq2AH703%2B%2BaqCYMNFEKeOCl2hRxFvjEG93HlDLmPtxAN5d2daMjBQYPdmZltOupWeP4PHwEARfkgZRameOKUSStGMklQ8IR6cmmWC034p%2Fng8odV50CxiTsSq%2FUprLI%2FRscTWfvmrseFvPVGv7TsrFY81POtP2lHNyjKlWvnwwyo3%2FiLoPlOW20AGJM%2Berq3n%2Bk4BKhJ%2BrTERw3tWQ%2BNU8z3q%2BCU5Ddj5dzGTG0zzbc41ADTzaHLPJbliJxQLoFeEtIEbztKMMw%3D%3D--Yz26hOTpS1I%2BBJcG--ZPzhH6AXpXdckR6qhDJPDA%3D%3D; path=/; HttpOnly; secure; SameSite=Lax
set-cookie _octo=GH1.1.741934308.1795678839; expires=Fri, 26 Nov 2027 07:40:39 GMT; domain=.github.com; path=/; secure; SameSite=Lax
set-cookie logged_in=no; expires=Fri, 26 Nov 2027 07:40:39 GMT; domain=.github.com; path=/; HttpOnly; secure; SameSite=Lax
x-github-request-id CBAA:3FBDB8:39B7A53:55D1C63:6B07E277
x-github-edge-region fra

Meta Tags

title="gh-144446: Fix thread-safety of FrameLocalsProxy on executing frames by kumaraditya303 · Pull Request #156973 · 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:4fa63897-70fa-c219-e0cf-6274bbcda078"
name="current-catalog-service-hash" content="ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b"
name="request-id" content="CBAA:3FBDB8:39B7A53:55D1C63:6B07E277" data-pjax-transient="true"
name="html-safe-nonce" content="6915f935d86a95a249e8d62c9a34fd9a257bafa2f0b6ac3e5dc4016ebb21b9e4" data-pjax-transient="true"
name="visitor-payload" content="eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQkFBOjNGQkRCODozOUI3QTUzOjU1RDFDNjM6NkIwN0UyNzciLCJ2aXNpdG9yX2lkIjoiMzE4NjU4MzU5MDQzNjA3MDAwNyIsInJlZ2lvbl9lZGdlIjoiZnJhIiwicmVnaW9uX3JlbmRlciI6ImZyYSJ9" data-pjax-transient="true"
name="visitor-hmac" content="f586602d423cf9eb849c762981d7acba6411539a6fd554b42126bbf8321a1753" data-pjax-transient="true"
name="hovercard-subject-tag" content="pull_request:4449954588" 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="Synchronize FrameLocalsProxy accesses with the frame's owning thread: fast locals are accessed under the frame object's critical section, and with the world stopped when the frame may be executing on another thread. Changes: Only the fast locals read and write run in the synchronized region. Key lookup (__hash__ / __eq__) runs outside it, so no Python code is executed while the world is stopped. The extra locals dict is never touched by the running frame, so it does not need stop-the-world. It is fetched under the frame's critical section and used with the dict's own locking. The value replaced in a cell is decref'd after the region, since its destructor can run arbitrary code. keys(), values(), items() and len() snapshot the fast locals in the region and hold the extra locals dict's critical section while iterating it. PyFrame_GetVar is synchronized the same way. Co-authored-by: Sam Gross colesbury@gmail.com Issue: gh-144446"
property="fb:app_id" content="1401488693436528"
name="apple-itunes-app" content="app-id=1477376905, app-argument=htt????/github.com/python/cpython/pull/156973/files"
name="twitter:image" content="htt????/avatars.githubusercontent.com/u/59607654?s=400&v=4"
name="twitter:site" content="@github"
name="twitter:card" content="summary_large_image"
name="twitter:title" content="gh-144446: Fix thread-safety of FrameLocalsProxy on executing frames by kumaraditya303 · Pull Request #156973 · python/cpython"
name="twitter:description" content="Synchronize FrameLocalsProxy accesses with the frame&amp;#39;s owning thread: fast locals are accessed under the frame object&amp;#39;s critical section, and with the world stopped when the frame m..."
property="og:image" content="htt????/avatars.githubusercontent.com/u/59607654?s=400&v=4"
property="og:image:alt" content="Synchronize FrameLocalsProxy accesses with the frame&#39;s owning thread: fast locals are accessed under the frame object&#39;s critical section, and with the world stopped when the frame may be ex..."
property="og:site_name" content="GitHub"
property="og:type" content="object"
property="og:title" content="gh-144446: Fix thread-safety of FrameLocalsProxy on executing frames by kumaraditya303 · Pull Request #156973 · python/cpython"
property="og:url" content="htt????/github.com/python/cpython/pull/156973"
property="og:description" content="Synchronize FrameLocalsProxy accesses with the frame&#39;s owning thread: fast locals are accessed under the frame object&#39;s critical section, and with the world stopped when the frame may be ex..."
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 size64230
load time (s)1.921259
redirect count1
speed download33435
server IP 140.82.121.4
* all occurrences of the string "http://" have been changed to "htt???/"