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/150029/files - gh-149816: #96 Fix a race cond.

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

site title: gh-149816: #96 Fix a race condition in invoke_gc_callback with free threading by dzaramelcone · Pull Request #150029 · python/cpython · GitHub

Our opinion (on Sunday 29 November 2026 7:30:17 UTC):

GREEN status (no comments) - no comments

Meta tags:
description=The optimization that avoided allocating an info dict when no gc callbacks were registered introduces a time of check to time of use race in free threaded mode (lineno 1943-1955). I just pulled out the check. Since info is always non-null, I also replaced XDECREF use with DECREF. (lineno 1959, lineno 1982). I implemented a stress test for this and uncovered what I believe to be a bug with _PyList_GetItemRef. I am following suit with python/cpython#149909 and not including the test with my PR for two reasons: My implementation was resource intensive and not deterministic. I didn t want to scope creep fixing the bug with _PyList_GetItemRef (but I m happy to open an issue for it!) also, this is my first PR against CPython, I am doing it from PyCon US as part of the sprint! :) Hello world! Issue: gh-149816;

Headings (most frequently used words):

uh, oh, navigation, gh, 149816, 96, fix, race, condition, in, invoke_gc_callback, with, free, threading, 150029, footer, diff, view, menu, repository, there, are, no, files, selected, for, viewing, filter, by, extension,

Text of the page (most frequently used words):
file (25), github (16), and (15), this (14), for (14), while (13), the (13), 149816 (13), 2026 (12), line (12), callbacks (12), applied (11), info (11), that (9), all (9), reload (9), expand (9), show (9), hidden (9), characters (9), unicode (9), threading (9), cannot (8), diff (8), dzaramelcone (8), you (7), suggestion (7), suggestions (7), code (7), changes (7), loading (7), invoke_gc_callback (7), null (7), include (7), open (7), race (7), with (7), sign (7), from (6), pyobject (6), gcstate (6), number (6), bidirectional (6), may (6), python (6), free (6), security (5), please (5), merge (5), comments (5), there (5), learn (5), about (5), view (5), fix (5), issue (5), thread (5), def (5), import (5), main (5), into (5), commits (5), your (5), can (4), time (4), not (4), pull (4), change (4), add (4), was (4), error (4), page (4), down (4), py_decref (4), phase_obj (4), pyerr_formatunraisable (4), exception (4), ignored (4), return (4), duration (4), candidates (4), uncollectable (4), collected (4), generation (4), what (4), review (4), more (4), next (4), rst (4), another (4), stop (4), test (4), files (4), branch (4), condition (4), support (4), copilot (4), community (3), navigation (3), request (3), batch (3), commit (3), retry (3), tstate (3), phase (3), pylist_get_size (3), invoking (3), original (3), contains (3), text (3), interpreted (3), compiled (3), differently (3), than (3), appears (3), below (3), editor (3), reveals (3), desktop (3), delete (3), edit (3), gc_free_threading (3), additions (3), deletions (3), misc (3), news (3), core_and_builtins (3), v18ypf (3), wait (3), threads (3), collect (3), lib (3), test_free_threading (3), test_gc (3), hide (3), whitespace (3), nbsp (3), filter (3), jul (3), 150029 (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), check (2), single (2), one (2), viewing (2), toggle (2), assert (2), py_xdecref (2), pythreadstate (2), const (2), char (2), stack (2), _pylist_getitemref (2), py_buildvalue (2), sisnsnsnsd (2), self (2), sleep (2), event (2), mutate (2), clear (2), range (2), is_set (2), selected (2), apply (2), split (2), unified (2), failed (2), load (2), jump (2), extension (2), encukou (2), aug (2), callback (2), select (2), tree (2), insights (2), projects (2), actions (2), repository (2), cpython (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, share, personal, information, manage, cookies, docs, inc, right, now, back, later, queued, multi, pending, reviews, has, been, marked, resolved, outdated, must, existing, order, create, valid, applying, deleted, lines, supported, only, per, subset, closed, invalid, because, were, made, annotations, notes, oops, something, went, wrong, _pyerr_occurred, 1978, 1982, pyobject_vectorcall, break, pylistobject, py_incref, make, sure, doesn, away, pylist_get_item, py_ssize_t, pyunicode_fromstring, pylist_checkexact, local, variable, rebound, sanity, 1940, 1941, pycore_tstate, _pythreadstateimpl, pycore_pystate, _pythreadstate_get, pycore_object_alloc, _pyobject_mallocwithtype, pycore_list, pycore_interpframe, _pyframe_getlocalsarray, pycore_interp, pyinterpreterstate, pycore_initconfig, _pystatus_no_memory, mode, conditions, iterating, between, gc_should_collect, gc_set_threshold, functions, 148613, setting, threshold, could, cause, test_set_threshold, threading_helper, start_threads, set, barrier, len, target, lambda, test_gc_callbacks_race_with_mutation, join, start, evil, unittest, testcase, are, conversations, filters, viewed, types, 73d0954, f67ea2b, avoid, allocating, empty, list, 062d75a, a33bd91, 5c71bc1, mutation, regression, c2b7dbe, 2306df8, hold, shift, click, changed, checks, conversation, already, clicking, agree, our, occasionally, send, related, emails, statement, service, its, maintainers, have, question, project, new, items, requests, issues, message, dismiss, alert, switched, accounts, out, appearance, settings, search, pricing, 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: 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


The site also has 1 references to other resources (not html/xhtml )

 github.com/dzaramelcone/cpython/blob/73d___.c  Verify


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/150029/files
connection close
HTTP/2 200
date Sun, 29 Nov 2026 07:30:17 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/ 1e6c5a0f1eefb15e34a57e8ad009df0d
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=7urHN71j2fVkTsFg8tORJe%2BVufNjCEclyrjFkhmErfmF6XEIOQqLkmwxoRRijyMfNkOXb53X7u0qOAn2OLozfEC5LBCi3ZpUH9UwpxYGH%2BWsXP4O9Sr7VGBVyb8r%2B%2FPSyJqV65Vs2EvYsOc6paHLSGIi%2FOiYqYTOMYUi8UheQSW8k2y7V4pNn%2BQAR%2B6U9Qt4M12qMtLKopWmAEmT3pG%2FVMs28Sxj46RxxQ6PQXZdY%2BPVMGVmqrJa9iQKLel%2FGHIBOJAXz0MmVtUhYQEoX%2BTUmw%3D%3D--dGMjM1TxttYJr4Gu--ir8EI15E9iK0gRyZyp1jzg%3D%3D; path=/; HttpOnly; secure; SameSite=Lax
set-cookie _octo=GH1.1.728243145.1795937416; expires=Mon, 29 Nov 2027 07:30:16 GMT; domain=.github.com; path=/; secure; SameSite=Lax
set-cookie logged_in=no; expires=Mon, 29 Nov 2027 07:30:16 GMT; domain=.github.com; path=/; HttpOnly; secure; SameSite=Lax
x-github-request-id B72C:1775:108ED3EE:179BBFE0:6B0BD488
x-github-edge-region fra

Meta Tags

title="gh-149816: #96 Fix a race condition in invoke_gc_callback with free threading by dzaramelcone · Pull Request #150029 · 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:b7f6d54a-46f9-8329-58a5-2ae5a7838286"
name="current-catalog-service-hash" content="ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b"
name="request-id" content="B72C:1775:108ED3EE:179BBFE0:6B0BD488" data-pjax-transient="true"
name="html-safe-nonce" content="49cf5bf6d8f5193db3aefc2d2e13d12b28335e2c9b36c8ff08ed46df1e108e86" data-pjax-transient="true"
name="visitor-payload" content="eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNzJDOjE3NzU6MTA4RUQzRUU6MTc5QkJGRTA6NkIwQkQ0ODgiLCJ2aXNpdG9yX2lkIjoiMzEyNzc4MDQ5MzEwNzEyMzMzNiIsInJlZ2lvbl9lZGdlIjoiZnJhIiwicmVnaW9uX3JlbmRlciI6ImZyYSJ9" data-pjax-transient="true"
name="visitor-hmac" content="2a882a0442b4933e4339e9e12344692a6096408de2a6c0dceff221454f0d06d2" data-pjax-transient="true"
name="hovercard-subject-tag" content="pull_request:3704922916" 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="The optimization that avoided allocating an info dict when no gc callbacks were registered introduces a time of check to time of use race in free threaded mode (lineno 1943-1955). I just pulled out the check. Since info is always non-null, I also replaced XDECREF use with DECREF. (lineno 1959, lineno 1982). I implemented a stress test for this and uncovered what I believe to be a bug with _PyList_GetItemRef. I am following suit with python/cpython#149909 and not including the test with my PR for two reasons: My implementation was resource intensive and not deterministic. I didn't want to scope creep fixing the bug with _PyList_GetItemRef (but I'm happy to open an issue for it!) also, this is my first PR against CPython, I am doing it from PyCon US as part of the sprint! :) Hello world! Issue: gh-149816"
property="fb:app_id" content="1401488693436528"
name="apple-itunes-app" content="app-id=1477376905, app-argument=htt????/github.com/python/cpython/pull/150029/files"
name="twitter:image" content="htt????/avatars.githubusercontent.com/u/134235821?s=400&v=4"
name="twitter:site" content="@github"
name="twitter:card" content="summary_large_image"
name="twitter:title" content="gh-149816: #96 Fix a race condition in invoke_gc_callback with free threading by dzaramelcone · Pull Request #150029 · python/cpython"
name="twitter:description" content="The optimization that avoided allocating an info dict when no gc callbacks were registered introduces a time of check to time of use race in free threaded mode (lineno 1943-1955). I just pulled out..."
property="og:image" content="htt????/avatars.githubusercontent.com/u/134235821?s=400&v=4"
property="og:image:alt" content="The optimization that avoided allocating an info dict when no gc callbacks were registered introduces a time of check to time of use race in free threaded mode (lineno 1943-1955). I just pulled out..."
property="og:site_name" content="GitHub"
property="og:type" content="object"
property="og:title" content="gh-149816: #96 Fix a race condition in invoke_gc_callback with free threading by dzaramelcone · Pull Request #150029 · python/cpython"
property="og:url" content="htt????/github.com/python/cpython/pull/150029"
property="og:description" content="The optimization that avoided allocating an info dict when no gc callbacks were registered introduces a time of check to time of use race in free threaded mode (lineno 1943-1955). I just pulled out..."
name="hostname" content="github.com"
name="expected-hostname" content="github.com"
http-equiv="x-pjax-version" content="2f26b7b04774dd0cee682313db3d734dc0f103a6fecc57eb6c3ee9f6bdf420da" data-turbo-track="reload"
http-equiv="x-pjax-csp-version" content="adddfd507de4c4b0b130ff1dbf3c31681ba97e7a45dc69da056946fc5370dfd4" data-turbo-track="reload"
http-equiv="x-pjax-css-version" content="6461f87ecae18a405f89b5f5f023d20a05636d0b2938295d444470acca7728a2" data-turbo-track="reload"
http-equiv="x-pjax-js-version" content="7c47183a73008933468557b28d2500e2ea7619094b9fe68a81910d76811eeb3c" 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="206ca5e2e4c7feca284ad1771fa08530fd32785c" data-turbo-track="reload"
name="ui-target" content="canary-2"
name="theme-color" content="#1e2327"
name="color-scheme" content="light dark"

Load Info

page size57470
load time (s)0.994172
redirect count1
speed download57816
server IP 140.82.121.3
* all occurrences of the string "http://" have been changed to "htt???/"