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/8232/files - [WIP] gh-73858: Save and resto.

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

site title: [WIP] gh-73858: Save and restore module warning re...

Our opinion (on Sunday 29 November 2026 5:05:59 UTC):

website (probably) only for adults * website (probably) only for adults ! YELLOW status (not for everyone) - not for everyone

Meta tags:
description=This avoids catch_warnings wiping out all module warning registries due to calling _filters_mutated. Which causes all warnings recorded in those registries to be shown again. I m not sure if this is the right approach for this, so I m submitting this incomplete in order to garner feedback, and for answers to the questions in TODO below. TODO Should onceregistry be saved and restored too? A better test? I m not sure how to test this better since catch_warnings is used for the warnings tests themselves. Consider the order that things are done in catch_warnings.__enter__ and catch_warnings.__exit__, to cause the least disturbance due to threads (It s not thread safe anyhow...) Documentation & NEWS.d obviously htt????/bugs.python.org/issue29672 Issue: gh-73858;

Headings (most frequently used words):

uh, oh, navigation, wip, gh, 73858, save, and, restore, module, warning, registries, in, catch_warnings, 8232, footer, diff, view, menu, repository, there, are, no, files, selected, for, viewing, filter, by, extension,

Text of the page (most frequently used words):
self (46), file (43), expand (26), line (22), registry (20), _registrycleared (19), this (18), hidden (18), characters (18), unicode (18), and (18), the (17), that (16), github (16), def (16), show (15), null (15), _module (15), diff (14), open (13), return (13), all (12), number (12), bidirectional (12), pyobject (12), module (12), applied (11), down (11), change (10), for (10), filters_version (9), interp (9), reload (9), segevfiner (9), cannot (8), comments (8), learn (8), about (8), view (8), _filters_version (8), you (7), suggestion (7), suggestions (7), while (7), code (7), changes (7), python (7), compiled (7), what (7), review (7), more (7), _filters_mutated (7), warnings (7), warning (7), init_id (7), struct_for_id (7), sign (7), original (6), contains (6), text (6), may (6), interpreted (6), differently (6), than (6), appears (6), below (6), editor (6), reveals (6), desktop (6), delete (6), edit (6), error (6), loading (6), filters (6), security (5), please (5), from (5), add (5), _warnings (5), deletions (5), _set_filters_version (5), pyinterpreterstate (5), there (5), msg (5), lib (5), wmod (5), catch_warnings (5), include (5), internal (5), restore (5), registries (5), commits (5), your (5), can (4), pull (4), merge (4), static (4), args (4), was (4), page (4), res (4), false (4), warn (4), none (4), _showwarnmsg_impl (4), __init__ (4), message (4), __warningregistry__ (4), with (4), files (4), another (4), build (4), save (4), support (4), copilot (4), not (3), community (3), navigation (3), request (3), resolved (3), batch (3), commit (3), closed (3), _showwarnmsg (3), tools (3), scripts (3), generate_global_objects (3), addition (3), showwarning (3), int (3), category (3), additions (3), warn_explicit (3), _old_registries (3), clear (3), _filters (3), _entered (3), lineno (3), into (3), foo (3), test (3), test_warnings (3), pycore_runtime_init (3), pycore_global_strings (3), hide (3), whitespace (3), nbsp (3), filter (3), feb (3), 2022 (3), issue (3), bpo (3), 29672 (3), 8232 (3), wip (3), 73858 (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), action (2), contact (2), status (2), privacy (2), terms (2), footer (2), marked (2), must (2), single (2), one (2), viewing (2), toggle (2), defaultaction (2), _warn_unawaited_coroutine (2), get_warnings_attr (2), xxx (2), brett (2), cannon (2), meth_varargs (2), pycfunction (2), warnings_set_filters_version (2), warnings_filters_mutated (2), pylong_fromlong (2), version_obj (2), call_registrycleared (2), pyerr_occurred (2), already_warned (2), key (2), conversation (2), py_xdecref (2), py_decref (2), 392 (2), _warnings_defaults (2), old_filters_version (2), global (2), extract (2), true (2), _onceregistry (2), _defaultaction (2), are (2), append (2), _showwarning (2), registry_copy (2), _orig_registrycleared (2), _record (2), record (2), version (2), filename (2), 127 (2), assert (2), len (2), 1125 (2), _slotnames (2), _shutdown (2), _lock_unlock_module (2), _is_text_encoding (2), _initializing (2), 819 (2), 204 (2), selected (2), apply (2), split (2), unified (2), failed (2), load (2), retry (2), jump (2), extension (2), fix (2), main (2), catch (2), 2018 (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, time, share, personal, information, manage, cookies, docs, 2026, inc, right, now, check, back, later, queued, multi, pending, reviews, has, been, outdated, existing, order, create, valid, applying, deleted, lines, supported, only, per, subset, invalid, because, were, made, annotations, notes, warningmessage, sentinel, reasonable, formatwarning, meth_noargs, meth_keywords, warn_explicit_doc, 1376, 1430, pymethoddef, warnings_functions, py_return_none, warningsstate, warnings_get_state, get_current_interp, pyarg_parsetuple, long, 1107, 1141, pydict_clear, 413, 446, should_set, comment, thread, pyobject_callfunctionobjargs, goto, set, callable, pyerr_setstring, pyexc_typeerror, pycallable_check, get_filter, deletion, 529, 544, onceregistry, import, try, either, regexs, match, anything, 516, 530, coro, private, utility, function, called, _pyerr_warnunawaitedcoroutine, copy, update, raise, runtimeerror, exit, without, entering, first, 478, 485, __exit__, exc_info, 461, 466, __enter__, __repr__, sys, modules, else, 445, 449, isinstance, get, 335, 338, insert, entry, list, front, filterwarnings, hook, notifies, when, cleared, _formatwarnmsg_impl, _formatwarnmsg, c_warnings, class, ccatchwarningtests, catchwarningtests, unittest, testcase, orig_registry, test_check_warnings_restore_registries, warnings_helper, check_warnings, runtimewarning, test_check_warnings, extern, struct, _py_global_strings, conversations, viewed, types, introduced, d6217a4, 19bac0e, remote, tracking, branch, upstream, war, c08c701, dec, py_dec_ref, f5a82a4, jul, 64ceef9, hold, shift, click, range, changed, checks, wants, already, clicking, agree, our, occasionally, send, related, emails, statement, service, free, its, maintainers, have, question, project, new, items, requests, issues, dismiss, alert, switched, accounts, out, appearance, settings, search, pricing, event, talks, workshops, next, 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.YELLOW status (not for everyone)website (probably) only for adults

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


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

 github.com/segevfiner/cpython/blob/d6217___.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/8232/files
connection close
HTTP/2 200
date Sun, 29 Nov 2026 05:05:59 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/ d25ba20ef2eddf144ff5dfa166245274
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=Bdq8g%2FzFx2t1UejIyjZOIH6jUJEmVy6HiOJ8eFxQ71vzSS2qF88YqYvfqA5k4s5ZAWWYkdDvsF1qb6jB4OAXKwZxHcQctTKGBIS%2F0jObrowcNIkJLeksy3%2BtYkaZaT10ynpdEi2T69qwRj3KszaqhexltCGclxl6vq%2F%2FzN2gYSI3FI3rqwC29YoptIrTUSLvzT6mD3Ms6NPALTWnIAyBuPlA%2BA1Z9Z4Z3ZriXcaJ9TyTcYIOOu07SiOtikXLwqZmhsu700yumrDzwahOHEHpJw%3D%3D--r7QT3ypQgRqf9sgE--ft6IDgnSkt5b19pRLvADqg%3D%3D; path=/; HttpOnly; secure; SameSite=Lax
set-cookie _octo=GH1.1.1799168493.1795928757; expires=Mon, 29 Nov 2027 05:05:57 GMT; domain=.github.com; path=/; secure; SameSite=Lax
set-cookie logged_in=no; expires=Mon, 29 Nov 2027 05:05:57 GMT; domain=.github.com; path=/; HttpOnly; secure; SameSite=Lax
x-github-request-id 8DB0:21F24E:135ACC27:1B26248A:6B0BB2B5
x-github-edge-region fra

Meta Tags

title="[WIP] gh-73858: Save and restore module warning registries in catch_warnings by segevfiner · Pull Request #8232 · 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:089c1254-3c03-4629-3948-b0eb4c3021ab"
name="current-catalog-service-hash" content="ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b"
name="request-id" content="8DB0:21F24E:135ACC27:1B26248A:6B0BB2B5" data-pjax-transient="true"
name="html-safe-nonce" content="bc0ff342a14390805020ca16da95e997abf108ad11554bc6b3e576b1f9cfa795" data-pjax-transient="true"
name="visitor-payload" content="eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4REIwOjIxRjI0RToxMzVBQ0MyNzoxQjI2MjQ4QTo2QjBCQjJCNSIsInZpc2l0b3JfaWQiOiI3NzI3MzY5ODM5MjI0NTMzNjg1IiwicmVnaW9uX2VkZ2UiOiJmcmEiLCJyZWdpb25fcmVuZGVyIjoiZnJhIn0=" data-pjax-transient="true"
name="visitor-hmac" content="f870e2154b4d23fec22a44089b5d5de8c9b2f3ad829dd7ec0f8a687a9d6b5dca" data-pjax-transient="true"
name="hovercard-subject-tag" content="pull_request:200526117" 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="This avoids catch_warnings wiping out all module warning registries due to calling _filters_mutated. Which causes all warnings recorded in those registries to be shown again. I'm not sure if this is the right approach for this, so I'm submitting this incomplete in order to garner feedback, and for answers to the questions in TODO below. TODO Should onceregistry be saved and restored too? A better test? I'm not sure how to test this better since catch_warnings is used for the warnings tests themselves. Consider the order that things are done in catch_warnings.__enter__ and catch_warnings.__exit__, to cause the least disturbance due to threads (It's not thread safe anyhow...) Documentation & NEWS.d obviously htt????/bugs.python.org/issue29672 Issue: gh-73858"
property="fb:app_id" content="1401488693436528"
name="apple-itunes-app" content="app-id=1477376905, app-argument=htt????/github.com/python/cpython/pull/8232/files"
name="twitter:image" content="htt????/avatars.githubusercontent.com/u/24731903?s=400&v=4"
name="twitter:site" content="@github"
name="twitter:card" content="summary_large_image"
name="twitter:title" content="[WIP] gh-73858: Save and restore module warning registries in catch_warnings by segevfiner · Pull Request #8232 · python/cpython"
name="twitter:description" content="This avoids catch_warnings wiping out all module warning registries due to calling _filters_mutated. Which causes all warnings recorded in those registries to be shown again. I&amp;#39;m not sure i..."
property="og:image" content="htt????/avatars.githubusercontent.com/u/24731903?s=400&v=4"
property="og:image:alt" content="This avoids catch_warnings wiping out all module warning registries due to calling _filters_mutated. Which causes all warnings recorded in those registries to be shown again. I&#39;m not sure if th..."
property="og:site_name" content="GitHub"
property="og:type" content="object"
property="og:title" content="[WIP] gh-73858: Save and restore module warning registries in catch_warnings by segevfiner · Pull Request #8232 · python/cpython"
property="og:url" content="htt????/github.com/python/cpython/pull/8232"
property="og:description" content="This avoids catch_warnings wiping out all module warning registries due to calling _filters_mutated. Which causes all warnings recorded in those registries to be shown again. I&#39;m not sure if th..."
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="full"
name="theme-color" content="#1e2327"
name="color-scheme" content="light dark"

Load Info

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