René's URL Explorer Experiment


Title: gh-139145: fix spinning event loop in tkinter by mdehoon · Pull Request #139180 · python/cpython · GitHub

Open Graph Title: gh-139145: fix spinning event loop in tkinter by mdehoon · Pull Request #139180 · python/cpython

X Title: gh-139145: fix spinning event loop in tkinter by mdehoon · Pull Request #139180 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: This pull request fixes the bug described in issue #139145 by moving the call to Tcl_DeleteFileHandler from EventHook to MyFileProc. The reasoning behind this is: after the first call to MyFilePro...

X Description: This pull request fixes the bug described in issue #139145 by moving the call to Tcl_DeleteFileHandler from EventHook to MyFileProc. The reasoning behind this is: after the first call to MyFilePro...

Opengraph URL: https://github.com/python/cpython/pull/139180

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:e646a824-c947-4ef9-89c8-812da17912fb
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8750:DB09F:438631F:560F7CA:6B023EA6
html-safe-nonce1e3f07618ba1d1b4f1bca657a563bbd854ba1789c899b542718cdbd2ccd3c859
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NzUwOkRCMDlGOjQzODYzMUY6NTYwRjdDQTo2QjAyM0VBNiIsInZpc2l0b3JfaWQiOiI2ODU3ODUwNTM1MTQ1Nzk2MjIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacb6146cf58a407bab02760062788ebe1bcbc29a7cc4012257f629aa0e9f2cc061
hovercard-subject-tagpull_request:2846184661
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/139180/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/4cc49253a3fbf38e0badafb9b0464d39a1cdb4fba160774479b7ab860c928666/python/cpython/pull/139180
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4cc49253a3fbf38e0badafb9b0464d39a1cdb4fba160774479b7ab860c928666/python/cpython/pull/139180
og:image:altThis pull request fixes the bug described in issue #139145 by moving the call to Tcl_DeleteFileHandler from EventHook to MyFileProc. The reasoning behind this is: after the first call to MyFilePro...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemdehoon
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-cache
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/139180#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F139180
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F139180
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/139180
Reloadhttps://github.com/python/cpython/pull/139180
Reloadhttps://github.com/python/cpython/pull/139180
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
https://github.com/python/cpython
mdehoonhttps://github.com/mdehoon
python:mainhttps://github.com/python/cpython/tree/main
mdehoon:issue139145_bugfixhttps://github.com/mdehoon/cpython/tree/issue139145_bugfix
Conversationhttps://github.com/python/cpython/pull/139180
Commits11 (11)https://github.com/python/cpython/pull/139180/commits
Checkshttps://github.com/python/cpython/pull/139180/checks
Files changedhttps://github.com/python/cpython/pull/139180/files
gh-139145: fix spinning event loop in tkinterhttps://github.com/python/cpython/pull/139180#top
mdehoonhttps://github.com/mdehoon
python:mainhttps://github.com/python/cpython/tree/main
mdehoon:issue139145_bugfixhttps://github.com/mdehoon/cpython/tree/issue139145_bugfix
https://github.com/mdehoon
mdehoonhttps://github.com/mdehoon
Sep 20, 2025https://github.com/python/cpython/pull/139180#issue-3437030306
Please reload this pagehttps://github.com/python/cpython/pull/139180
#139145https://github.com/python/cpython/issues/139145
tkinter wait_variable can cause the event loop to spin #139145https://github.com/python/cpython/issues/139145
tkinter wait_variable can cause the event loop to spin #139145https://github.com/python/cpython/issues/139145
Please reload this pagehttps://github.com/python/cpython/pull/139180
bpo-139145: fix spinning event loop in tkinterhttps://github.com/python/cpython/pull/139180/commits/6d0489a649e1b8dba3a9ee73d917b1459efa914d
6d0489ahttps://github.com/python/cpython/pull/139180/commits/6d0489a649e1b8dba3a9ee73d917b1459efa914d
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Sep 20, 2025https://github.com/python/cpython/pull/139180#event-19815881843
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Sep 20, 2025https://github.com/python/cpython/pull/139180#issuecomment-3314898275
require a NEWS entryhttps://devguide.python.org/core-developers/committing/#updating-news-and-what-s-new-in-python
blurb_ithttps://blurb-it.herokuapp.com
blurbhttps://pypi.org/project/blurb/
Please reload this pagehttps://github.com/python/cpython/pull/139180
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Sep 20, 2025 https://github.com/python/cpython/pull/139180#ref-issue-3432755134
tkinter wait_variable can cause the event loop to spin #139145 https://github.com/python/cpython/issues/139145
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
Sep 20, 2025 https://github.com/python/cpython/pull/139180#pullrequestreview-3249000965
View reviewed changes https://github.com/python/cpython/pull/139180/files/6d0489a649e1b8dba3a9ee73d917b1459efa914d
StanFromIrelandhttps://github.com/StanFromIreland
https://github.com/python/cpython/pull/139180#pullrequestreview-3249000965
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/139180
Adding test exposing the bug. The test mimics a user running Python i…https://github.com/python/cpython/pull/139180/commits/5dcb99fa4f5eaa8a05df09309d7bbfeff1738a3e
5dcb99fhttps://github.com/python/cpython/pull/139180/commits/5dcb99fa4f5eaa8a05df09309d7bbfeff1738a3e
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Sep 20, 2025https://github.com/python/cpython/pull/139180#issuecomment-3315060633
require a NEWS entryhttps://devguide.python.org/core-developers/committing/#updating-news-and-what-s-new-in-python
blurb_ithttps://blurb-it.herokuapp.com
blurbhttps://pypi.org/project/blurb/
Please reload this pagehttps://github.com/python/cpython/pull/139180
blurb-ithttps://github.com/apps/blurb-it
September 20, 2025 15:52https://github.com/python/cpython/pull/139180#commits-pushed-49258d1
https://github.com/apps/blurb-it
📜🤖 Added by blurb_it.https://github.com/python/cpython/pull/139180/commits/49258d1a5948a9376de278718a84b6d1b6cb6d21
49258d1https://github.com/python/cpython/pull/139180/commits/49258d1a5948a9376de278718a84b6d1b6cb6d21
fixing linthttps://github.com/python/cpython/pull/139180/commits/4c4e4b5a1afec7f121737334071e8c77002a23e6
4c4e4b5https://github.com/python/cpython/pull/139180/commits/4c4e4b5a1afec7f121737334071e8c77002a23e6
Merge branch 'issue139145_bugfix' of github.com:mdehoon/cpython into …https://github.com/python/cpython/pull/139180/commits/dafea183bcbb4a3eaa704033a9a41fe593a359a2
dafea18https://github.com/python/cpython/pull/139180/commits/dafea183bcbb4a3eaa704033a9a41fe593a359a2
fix blurbhttps://github.com/python/cpython/pull/139180/commits/99086de95a5e753084c9663b0773f155273d5d5f
99086dehttps://github.com/python/cpython/pull/139180/commits/99086de95a5e753084c9663b0773f155273d5d5f
https://github.com/chrstphrchvz
chrstphrchvzhttps://github.com/chrstphrchvz
Sep 30, 2025 https://github.com/python/cpython/pull/139180#pullrequestreview-3286462858
View reviewed changes https://github.com/python/cpython/pull/139180/files/99086de95a5e753084c9663b0773f155273d5d5f
chrstphrchvzhttps://github.com/chrstphrchvz
https://github.com/python/cpython/pull/139180#pullrequestreview-3286462858
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/139180
Modules/_tkinter.chttps://github.com/python/cpython/pull/139180/files/99086de95a5e753084c9663b0773f155273d5d5f#diff-e22af16a12488bb5478ce31dcf26da13ba5a95e051b2440a740ab6bc4ab0c4fd
chrstphrchvzhttps://github.com/chrstphrchvz
Sep 30, 2025https://github.com/python/cpython/pull/139180#discussion_r2392648955
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/139180
Modules/_tkinter.chttps://github.com/python/cpython/pull/139180/files/99086de95a5e753084c9663b0773f155273d5d5f#diff-e22af16a12488bb5478ce31dcf26da13ba5a95e051b2440a740ab6bc4ab0c4fd
chrstphrchvzhttps://github.com/chrstphrchvz
Sep 30, 2025https://github.com/python/cpython/pull/139180#discussion_r2392651903
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/139180
mdehoonhttps://github.com/mdehoon
Oct 1, 2025https://github.com/python/cpython/pull/139180#discussion_r2393675846
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/139180
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Sep 30, 2025https://github.com/python/cpython/pull/139180#event-20018888311
October 1, 2025 16:07https://github.com/python/cpython/pull/139180#commits-pushed-add49bd
simplify testhttps://github.com/python/cpython/pull/139180/commits/add49bdfec3723efcbdb081ac62b1e9d8c3223c7
add49bdhttps://github.com/python/cpython/pull/139180/commits/add49bdfec3723efcbdb081ac62b1e9d8c3223c7
be sure to delete the file handler also in case of errorInCmdhttps://github.com/python/cpython/pull/139180/commits/35758f10d9b7e094963f132d558b754a95043ee6
35758f1https://github.com/python/cpython/pull/139180/commits/35758f10d9b7e094963f132d558b754a95043ee6
only relevant on Windowshttps://github.com/python/cpython/pull/139180/commits/a3d07d43b41f71effa4f6522f5972af5fa816ddc
a3d07d4https://github.com/python/cpython/pull/139180/commits/a3d07d43b41f71effa4f6522f5972af5fa816ddc
trivial change to trigger another round of testinghttps://github.com/python/cpython/pull/139180/commits/e8fc83302d8a0ccd047f9f96cfcc398d8905135d
e8fc833https://github.com/python/cpython/pull/139180/commits/e8fc83302d8a0ccd047f9f96cfcc398d8905135d
Merge branch 'main' into issue139145_bugfixhttps://github.com/python/cpython/pull/139180/commits/72b04da30c8bbab42d93366bdcf72987f3b556ff
72b04dahttps://github.com/python/cpython/pull/139180/commits/72b04da30c8bbab42d93366bdcf72987f3b556ff
https://github.com/mdehoon
mdehoonhttps://github.com/mdehoon
Oct 17, 2025https://github.com/python/cpython/pull/139180#issuecomment-3413516818
Please reload this pagehttps://github.com/python/cpython/pull/139180
#140147https://github.com/python/cpython/pull/140147
#148819https://github.com/python/cpython/pull/148819
Please reload this pagehttps://github.com/python/cpython/pull/139180
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Apr 29, 2026https://github.com/python/cpython/pull/139180#issuecomment-4346446761
Please reload this pagehttps://github.com/python/cpython/pull/139180
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
stale https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astale
Apr 29, 2026https://github.com/python/cpython/pull/139180#event-25003566766
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
stale https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astale
Jun 8, 2026https://github.com/python/cpython/pull/139180#event-26472536045
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
June 25, 2026 10:29https://github.com/python/cpython/pull/139180#event-27191574680
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Jun 26, 2026 https://github.com/python/cpython/pull/139180#ref-pullrequest-4750864071
gh-139145: Fix tkinter event loop in interactive mode #152257 https://github.com/python/cpython/pull/152257
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Jun 26, 2026https://github.com/python/cpython/pull/139180#issuecomment-4808265723
#152257https://github.com/python/cpython/pull/152257
@chrstphrchvzhttps://github.com/chrstphrchvz
gh-139816https://github.com/python/cpython/issues/139816
gh-139145https://github.com/python/cpython/issues/139145
Please reload this pagehttps://github.com/python/cpython/pull/139180
https://github.com/mdehoon
mdehoonhttps://github.com/mdehoon
Jun 26, 2026https://github.com/python/cpython/pull/139180#issuecomment-4809767438
@serhiy-storchakahttps://github.com/serhiy-storchaka
#139145https://github.com/python/cpython/issues/139145
Please reload this pagehttps://github.com/python/cpython/pull/139180
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Jun 26, 2026https://github.com/python/cpython/pull/139180#event-27249763484
https://github.com/mdehoon
mdehoonhttps://github.com/mdehoon
June 26, 2026 14:50https://github.com/python/cpython/pull/139180#event-27251106420
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F139180
https://github.com/StanFromIreland
StanFromIreland https://github.com/StanFromIreland
https://github.com/python/cpython/pull/139180/files/6d0489a649e1b8dba3a9ee73d917b1459efa914d
https://github.com/serhiy-storchaka
serhiy-storchaka https://github.com/serhiy-storchaka
https://github.com/chrstphrchvz
chrstphrchvz https://github.com/chrstphrchvz
https://github.com/python/cpython/pull/139180/files/99086de95a5e753084c9663b0773f155273d5d5f
Please reload this pagehttps://github.com/python/cpython/pull/139180
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Please reload this pagehttps://github.com/python/cpython/pull/139180
https://github.com/mdehoon
https://github.com/serhiy-storchaka
https://github.com/chrstphrchvz
https://github.com/StanFromIreland
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.