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/162557/files - gh-140488: Do not poll in the .

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

site title: gh-140488: Do not poll in the tkinter event loop at the interactive prompt by serhiy-storchaka · Pull Request #162557 · python/cpython · GitHub

Our opinion (on Thursday 26 November 2026 12:50:30 UTC):

GREEN status (no comments) - no comments

Meta tags:
description=At the interactive prompt, EventHook ran Tcl events with Tcl_DoOneEvent(TCL_DONT_WAIT) and slept for 20 ms when there was nothing to do, so an idle interactive session with Tk loaded woke up about 100 times per second. On Unix with threaded Tcl, it now waits with Tcl_DoOneEvent(0), as mainloop() does. This is safe because stdin is watched by a Tcl file handler, so input still wakes it up. Whether Tcl is threaded is known from tcl_lock, which is freed as soon as a threaded interpreter is created, so no other changes are needed and the fix can be backported. Polling is kept on Windows, where stdin is not a Tcl event source, and for non-threaded Tcl. Measured with an interactive Python driven through a pseudo-terminal under Xvfb, with Tk 8.6: idle wakeups dropped from about 98 to 0 per second; after() callbacks, input, Ctrl-C and exceptions in callbacks behave as before, with and without readline. Thanks to @mdehoon for the analysis in the issue. 🤖 Generated with Claude Code Issue: gh-140488;

Headings (most frequently used words):

the, navigation, uh, oh, gh, 140488, do, not, poll, in, tkinter, event, loop, at, interactive, prompt, 162557, footer, diff, view, menu, repository, there, are, no, files, selected, for, viewing, filter, by, extension,

Text of the page (most frequently used words):
the (21), file (19), github (16), and (15), this (12), applied (11), for (11), line (9), tcl_lock (9), 140488 (9), all (8), reload (8), you (7), that (7), not (7), 2026 (7), suggestion (7), cannot (7), suggestions (7), while (7), code (7), event (7), show (7), sign (7), changes (6), loading (6), tcl_tstate (6), diff (6), hidden (6), characters (6), unicode (6), can (5), security (5), there (5), prompt (5), result (5), open (5), loop (5), interactive (5), tkinter (5), issue (5), serhiy (5), storchaka (5), commits (5), your (5), please (4), pull (4), comments (4), null (4), number (4), bidirectional (4), learn (4), about (4), view (4), next (4), rst (4), files (4), poll (4), support (4), copilot (4), community (3), navigation (3), request (3), from (3), change (3), add (3), batch (3), commit (3), was (3), error (3), page (3), retry (3), events (3), py_end_allow_threads (3), tcl_dooneevent (3), tstate (3), py_begin_allow_threads (3), else (3), eventhook (3), what (3), review (3), more (3), modules (3), _tkinter (3), misc (3), news (3), library (3), bw4tiq (3), hide (3), whitespace (3), filter (3), nov (3), 162557 (3), merged (3), python (3), account (3), quality (3), another (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), now (2), merge (2), single (2), one (2), viewing (2), toggle (2), expand (2), instead (2), sleep (2), tkinter_busywaitinterval (2), pythread_release_lock (2), tcl_dont_wait (2), pythread_acquire_lock (2), input (2), tcl (2), threaded (2), 3792 (2), original (2), contains (2), text (2), may (2), interpreted (2), compiled (2), differently (2), than (2), appears (2), below (2), editor (2), reveals (2), desktop (2), delete (2), edit (2), additions (2), deletions (2), selected (2), apply (2), split (2), unified (2), failed (2), load (2), jump (2), nbsp (2), extension (2), main (2), into (2), select (2), tree (2), insights (2), projects (2), actions (2), repository (2), cpython (2), signed (2), with (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, check, 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, down, returning, without, readline, report, exception, raised, callback, but, keep, pumping, endif, wait, polling, stdin, watched, myfileproc, break, type, file_type_disk, void, process, does, wake, every, few, milliseconds, idle, polls, unix, waits, running, longer, mod, are, conversations, clear, filters, viewed, types, remote, tracking, branch, upstream, 23e529f, d5f8cab, hold, shift, click, range, changed, checks, conversation, busywait, already, clicking, agree, our, occasionally, send, related, emails, statement, service, free, its, maintainers, have, question, project, new, items, requests, issues, message, dismiss, alert, switched, accounts, out, appearance, settings, search, pricing, talks, workshops, partners, company, forum, 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: 60 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


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

 github.com/serhiy-storchaka/cpython/blob___.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/162557/files
connection close
HTTP/2 200
date Thu, 26 Nov 2026 12:50:30 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/ 7ab67bc00df7cdf6a237a17ed624f428
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=6r2SM9p4JJW4%2FJMLsT%2F2AHPIpB7ms0r8rTWnqSfgwWVpjzuXFjhYEoJfJNZ8d2tLNaspfgRUyfNkoJJN1YTl%2FpWeMj%2BJX8lODP4Z%2FppY5MBbGoAYvR3ooTw1LWT%2FQynYwiW4imS%2BiV%2FRwIddfZ7XmcdyCCUznoygKGN235Oh3Nf5gL6PkEQw2rGiTKd4uk1o3sJuDlSOBKESBH7gzAer2%2FCgh6wdNmqKj8rM0XaBAOOMrsf6oNYs6keaJMvxlTDuUD8SOu9LKYqnhtRO6p9yBQ%3D%3D--%2BMBjA77jsZ3owLx7--qxBXJThEvkVs%2FiXFSkPZlA%3D%3D; path=/; HttpOnly; secure; SameSite=Lax
set-cookie _octo=GH1.1.1168784779.1795697429; expires=Fri, 26 Nov 2027 12:50:29 GMT; domain=.github.com; path=/; secure; SameSite=Lax
set-cookie logged_in=no; expires=Fri, 26 Nov 2027 12:50:29 GMT; domain=.github.com; path=/; HttpOnly; secure; SameSite=Lax
x-github-request-id B770:E399B:333F12B:44FDD82:6B082B15
x-github-edge-region fra

Meta Tags

title="gh-140488: Do not poll in the tkinter event loop at the interactive prompt by serhiy-storchaka · Pull Request #162557 · 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:f19fa290-3cb2-d70a-5d41-61c2c4c94b17"
name="current-catalog-service-hash" content="ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b"
name="request-id" content="B770:E399B:333F12B:44FDD82:6B082B15" data-pjax-transient="true"
name="html-safe-nonce" content="0809bbfc709c667cf2b94c54c6942f4ca365603f5a93615de7063d7f3138ef5d" data-pjax-transient="true"
name="visitor-payload" content="eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNzcwOkUzOTlCOjMzM0YxMkI6NDRGREQ4Mjo2QjA4MkIxNSIsInZpc2l0b3JfaWQiOiI1MDE5ODkyNDAzNjYzMjg1MDEzIiwicmVnaW9uX2VkZ2UiOiJmcmEiLCJyZWdpb25fcmVuZGVyIjoiZnJhIn0=" data-pjax-transient="true"
name="visitor-hmac" content="c6de6c713e4e0a2075aed16b029516fda8f4245981f1c3843e830251b11af00e" data-pjax-transient="true"
name="hovercard-subject-tag" content="pull_request:5473507918" 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="At the interactive prompt, EventHook ran Tcl events with Tcl_DoOneEvent(TCL_DONT_WAIT) and slept for 20 ms when there was nothing to do, so an idle interactive session with Tk loaded woke up about 100 times per second. On Unix with threaded Tcl, it now waits with Tcl_DoOneEvent(0), as mainloop() does. This is safe because stdin is watched by a Tcl file handler, so input still wakes it up. Whether Tcl is threaded is known from tcl_lock, which is freed as soon as a threaded interpreter is created, so no other changes are needed and the fix can be backported. Polling is kept on Windows, where stdin is not a Tcl event source, and for non-threaded Tcl. Measured with an interactive Python driven through a pseudo-terminal under Xvfb, with Tk 8.6: idle wakeups dropped from about 98 to 0 per second; after() callbacks, input, Ctrl-C and exceptions in callbacks behave as before, with and without readline. Thanks to @mdehoon for the analysis in the issue. 🤖 Generated with Claude Code Issue: gh-140488"
property="fb:app_id" content="1401488693436528"
name="apple-itunes-app" content="app-id=1477376905, app-argument=htt????/github.com/python/cpython/pull/162557/files"
name="twitter:image" content="htt????/avatars.githubusercontent.com/u/3659035?s=400&v=4"
name="twitter:site" content="@github"
name="twitter:card" content="summary_large_image"
name="twitter:title" content="gh-140488: Do not poll in the tkinter event loop at the interactive prompt by serhiy-storchaka · Pull Request #162557 · python/cpython"
name="twitter:description" content="At the interactive prompt, EventHook ran Tcl events with Tcl_DoOneEvent(TCL_DONT_WAIT) and slept for 20 ms when there was nothing to do, so an idle interactive session with Tk loaded woke up about ..."
property="og:image" content="htt????/avatars.githubusercontent.com/u/3659035?s=400&v=4"
property="og:image:alt" content="At the interactive prompt, EventHook ran Tcl events with Tcl_DoOneEvent(TCL_DONT_WAIT) and slept for 20 ms when there was nothing to do, so an idle interactive session with Tk loaded woke up about ..."
property="og:site_name" content="GitHub"
property="og:type" content="object"
property="og:title" content="gh-140488: Do not poll in the tkinter event loop at the interactive prompt by serhiy-storchaka · Pull Request #162557 · python/cpython"
property="og:url" content="htt????/github.com/python/cpython/pull/162557"
property="og:description" content="At the interactive prompt, EventHook ran Tcl events with Tcl_DoOneEvent(TCL_DONT_WAIT) and slept for 20 ms when there was nothing to do, so an idle interactive session with Tk loaded woke up about ..."
name="hostname" content="github.com"
name="expected-hostname" content="github.com"
http-equiv="x-pjax-version" content="31feb69d0a2c89cfdf49c3252c83feab4180a7553240da2791a8bf5e5bfd27e1" 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="8d0727a448393b0f3dafc64f10dba9bc6d2aad99de5654537428dcc056ef0738" 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="6a427979b13455def732ce21afc73728791eb15f" data-turbo-track="reload"
name="ui-target" content="full"
name="theme-color" content="#1e2327"
name="color-scheme" content="light dark"

Load Info

page size49567
load time (s)1.063307
redirect count1
speed download46629
server IP 140.82.121.4
* all occurrences of the string "http://" have been changed to "htt???/"