René's URL Explorer Experiment


Title: Allow threads during macos event loop by ksunden · Pull Request #27755 · matplotlib/matplotlib · GitHub

Open Graph Title: Allow threads during macos event loop by ksunden · Pull Request #27755 · matplotlib/matplotlib

X Title: Allow threads during macos event loop by ksunden · Pull Request #27755 · matplotlib/matplotlib

Description: PR summary Add START/END "ALLOW THREADS" macros to the event loop code. This breaks the deadlock, which allows the GIL to be acquired in an alternate thread. It is not clear to me why this is MacOS...

Open Graph Description: PR summary Add START/END "ALLOW THREADS" macros to the event loop code. This breaks the deadlock, which allows the GIL to be acquired in an alternate thread. It is not clear to me why thi...

X Description: PR summary Add START/END "ALLOW THREADS" macros to the event loop code. This breaks the deadlock, which allows the GIL to be acquired in an alternate thread. It is not clear to me...

Opengraph URL: https://github.com/matplotlib/matplotlib/pull/27755

X: @github

direct link

Domain: github.com

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:ac0d9692-d9b0-104c-bb8c-396b26226673
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB2E8:F5C1C:12DB09A:1A34CCD:696A310A
html-safe-nonce1d0b8bc396d7edd8cc210def36212d87330ab277e2a685a2c30a3626074ba173
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMkU4OkY1QzFDOjEyREIwOUE6MUEzNENDRDo2OTZBMzEwQSIsInZpc2l0b3JfaWQiOiI0OTI3NzQxNjcyNjg3Mjg0NDkwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac790779a2831b591eae86925924b1d4553c3e2c2e4107fe98c269d4c5d6241cbe
hovercard-subject-tagpull_request:1716466686
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/matplotlib/matplotlib/27755/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/3522d56bae405dd3538b4264e7d6a6a0356ee0c302ce6402e3614cae5354029e/matplotlib/matplotlib/pull/27755
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3522d56bae405dd3538b4264e7d6a6a0356ee0c302ce6402e3614cae5354029e/matplotlib/matplotlib/pull/27755
og:image:altPR summary Add START/END "ALLOW THREADS" macros to the event loop code. This breaks the deadlock, which allows the GIL to be acquired in an alternate thread. It is not clear to me why thi...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameksunden
hostnamegithub.com
expected-hostnamegithub.com
Noneade130928b3890d20ecf9c887468a17e88d5c9a740ea2a85c2c2162e7c58e623
turbo-cache-controlno-preview
go-importgithub.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git
octolytics-dimension-user_id215947
octolytics-dimension-user_loginmatplotlib
octolytics-dimension-repository_id1385122
octolytics-dimension-repository_nwomatplotlib/matplotlib
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1385122
octolytics-dimension-repository_network_root_nwomatplotlib/matplotlib
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
releasec00842167ca2e5b13e8171812965d503e925ece6
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/matplotlib/matplotlib/pull/27755#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F27755
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F27755
Sign up https://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=matplotlib%2Fmatplotlib
Reloadhttps://github.com/matplotlib/matplotlib/pull/27755
Reloadhttps://github.com/matplotlib/matplotlib/pull/27755
Reloadhttps://github.com/matplotlib/matplotlib/pull/27755
matplotlib https://github.com/matplotlib
matplotlibhttps://github.com/matplotlib/matplotlib
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/27755
Notifications https://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib
Fork 8.2k https://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib
Star 22.2k https://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib
Code https://github.com/matplotlib/matplotlib
Issues 1.1k https://github.com/matplotlib/matplotlib/issues
Pull requests 401 https://github.com/matplotlib/matplotlib/pulls
Actions https://github.com/matplotlib/matplotlib/actions
Projects 2 https://github.com/matplotlib/matplotlib/projects
Wiki https://github.com/matplotlib/matplotlib/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/matplotlib/matplotlib/security
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/27755
Insights https://github.com/matplotlib/matplotlib/pulse
Code https://github.com/matplotlib/matplotlib
Issues https://github.com/matplotlib/matplotlib/issues
Pull requests https://github.com/matplotlib/matplotlib/pulls
Actions https://github.com/matplotlib/matplotlib/actions
Projects https://github.com/matplotlib/matplotlib/projects
Wiki https://github.com/matplotlib/matplotlib/wiki
Security https://github.com/matplotlib/matplotlib/security
Insights https://github.com/matplotlib/matplotlib/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fmatplotlib%2Fmatplotlib%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/matplotlib/matplotlib/pull/27755#issue-comment-box
greglucashttps://github.com/greglucas
matplotlib:mainhttps://github.com/matplotlib/matplotlib/tree/main
ksunden:release_gil_macos_event_loophttps://github.com/ksunden/matplotlib/tree/release_gil_macos_event_loop
Allow threads during macos event loop https://github.com/matplotlib/matplotlib/pull/27755#top
greglucashttps://github.com/greglucas
matplotlib:mainhttps://github.com/matplotlib/matplotlib/tree/main
ksunden:release_gil_macos_event_loophttps://github.com/ksunden/matplotlib/tree/release_gil_macos_event_loop
Conversation 4 https://github.com/matplotlib/matplotlib/pull/27755
Commits 1 https://github.com/matplotlib/matplotlib/pull/27755/commits
Checks 0 https://github.com/matplotlib/matplotlib/pull/27755/checks
Files changed https://github.com/matplotlib/matplotlib/pull/27755/files
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/27755
https://github.co/hiddenchars
https://github.com/matplotlib/matplotlib/pull/{{ revealButtonHref }}
https://github.com/ksunden
ksundenhttps://github.com/ksunden
Feb 7, 2024https://github.com/matplotlib/matplotlib/pull/27755#issue-2123918047
#27720https://github.com/matplotlib/matplotlib/issues/27720
link the related issuehttps://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue
testedhttps://matplotlib.org/devdocs/devel/testing.html
examplehttps://matplotlib.org/devdocs/devel/document.html#write-examples-and-tutorials
directive and release notehttps://matplotlib.org/devdocs/devel/api_changes.html#announce-changes-deprecations-and-new-features
generalhttps://matplotlib.org/devdocs/devel/document.html#write-rest-pages
docstringhttps://matplotlib.org/devdocs/devel/document.html#write-docstrings
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/27755
https://github.com/ksunden
Allow threads during macos event loophttps://github.com/matplotlib/matplotlib/pull/27755/commits/141eb39d8268f766ae0d1f27378e59725e42f526
141eb39https://github.com/matplotlib/matplotlib/pull/27755/commits/141eb39d8268f766ae0d1f27378e59725e42f526
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
GUI: MacOSX https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22GUI%3A%20MacOSX%22
Feb 7, 2024https://github.com/matplotlib/matplotlib/pull/27755#event-11737988699
https://github.com/QuLogic
QuLogichttps://github.com/QuLogic
v3.8.3https://github.com/matplotlib/matplotlib/milestone/88
Feb 7, 2024https://github.com/matplotlib/matplotlib/pull/27755#event-11738068215
https://github.com/tacaswell
tacaswellhttps://github.com/tacaswell
Feb 7, 2024 https://github.com/matplotlib/matplotlib/pull/27755#pullrequestreview-1868861238
View reviewed changes https://github.com/matplotlib/matplotlib/pull/27755/files/141eb39d8268f766ae0d1f27378e59725e42f526
https://github.com/tacaswell
tacaswellhttps://github.com/tacaswell
Feb 7, 2024https://github.com/matplotlib/matplotlib/pull/27755#issuecomment-1932994475
#27720https://github.com/matplotlib/matplotlib/issues/27720
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/27755
https://github.com/QuLogic
QuLogichttps://github.com/QuLogic
greglucashttps://github.com/greglucas
February 7, 2024 22:03https://github.com/matplotlib/matplotlib/pull/27755#event-11738382674
https://github.com/greglucas
greglucashttps://github.com/greglucas
Feb 8, 2024 https://github.com/matplotlib/matplotlib/pull/27755#pullrequestreview-1869213713
View reviewed changes https://github.com/matplotlib/matplotlib/pull/27755/files/141eb39d8268f766ae0d1f27378e59725e42f526
greglucashttps://github.com/greglucas
https://github.com/matplotlib/matplotlib/pull/27755#pullrequestreview-1869213713
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
matplotlib/lib/matplotlib/backends/backend_macosx.pyhttps://github.com/matplotlib/matplotlib/blob/c2aa4ee1177452dc778813e3034c3f57d7db83d8/lib/matplotlib/backends/backend_macosx.py#L180-L183
c2aa4eehttps://github.com/matplotlib/matplotlib/commit/c2aa4ee1177452dc778813e3034c3f57d7db83d8
matplotlib/lib/matplotlib/backends/backend_macosx.pyhttps://github.com/matplotlib/matplotlib/blob/c2aa4ee1177452dc778813e3034c3f57d7db83d8/lib/matplotlib/backends/backend_macosx.py#L113-L117
c2aa4eehttps://github.com/matplotlib/matplotlib/commit/c2aa4ee1177452dc778813e3034c3f57d7db83d8
@ksundenhttps://github.com/ksunden
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/27755
https://github.com/greglucas
greglucashttps://github.com/greglucas
b50843dhttps://github.com/matplotlib/matplotlib/commit/b50843d1ceac118ea5e71ef77fc591c8369954f7
Feb 8, 2024https://github.com/matplotlib/matplotlib/pull/27755#event-11740383687
meeseeksmachinehttps://github.com/meeseeksmachine
Feb 8, 2024 https://github.com/matplotlib/matplotlib/pull/27755#ref-commit-6ad534a
https://github.com/greglucas
https://github.com/meeseeksmachine
Backport PRhttps://github.com/meeseeksmachine/matplotlib/commit/6ad534ad7fd9659ae5b7a252904f6118922d69b9
matplotlib#27755https://github.com/matplotlib/matplotlib/pull/27755
: Allow threads during macos event loophttps://github.com/meeseeksmachine/matplotlib/commit/6ad534ad7fd9659ae5b7a252904f6118922d69b9
6ad534ahttps://github.com/meeseeksmachine/matplotlib/commit/6ad534ad7fd9659ae5b7a252904f6118922d69b9
https://github.com/meeseeksmachine
meeseeksmachinehttps://github.com/meeseeksmachine
Feb 8, 2024 https://github.com/matplotlib/matplotlib/pull/27755#ref-pullrequest-2124295174
Backport PR #27755 on branch v3.8.x (Allow threads during macos event loop) #27759 https://github.com/matplotlib/matplotlib/pull/27759
QuLogichttps://github.com/QuLogic
Feb 8, 2024 https://github.com/matplotlib/matplotlib/pull/27755#ref-commit-4591c5b
https://github.com/QuLogic
Merge pull requesthttps://github.com/matplotlib/matplotlib/commit/4591c5b8c5a7b8b721f8173ba5d7ed7751fe6922
#27759https://github.com/matplotlib/matplotlib/pull/27759
from meeseeksmachine/auto-backport-of-pr-27…https://github.com/matplotlib/matplotlib/commit/4591c5b8c5a7b8b721f8173ba5d7ed7751fe6922
4591c5bhttps://github.com/matplotlib/matplotlib/commit/4591c5b8c5a7b8b721f8173ba5d7ed7751fe6922
#27755https://github.com/matplotlib/matplotlib/pull/27755
https://github.com/tacaswell
tacaswellhttps://github.com/tacaswell
Feb 8, 2024 https://github.com/matplotlib/matplotlib/pull/27755#ref-issue-2107726887
[Bug]: pyplot hangs at pause in sonoma 14.3 with backend MacOSX #27720 https://github.com/matplotlib/matplotlib/issues/27720
https://github.com/QuLogic
QuLogichttps://github.com/QuLogic
Feb 14, 2024https://github.com/matplotlib/matplotlib/pull/27755#issuecomment-1944818880
@meeseeksdevhttps://github.com/meeseeksdev
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/27755
https://github.com/apps/lumberbot-app
lumberbot-apphttps://github.com/apps/lumberbot-app
Feb 14, 2024https://github.com/matplotlib/matplotlib/pull/27755#issuecomment-1944820147
#27755https://github.com/matplotlib/matplotlib/pull/27755
suggest an improvementhttps://github.com/MeeseeksBox/MeeseeksDev
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/27755
https://github.com/apps/lumberbot-app
lumberbot-apphttps://github.com/apps/lumberbot-app
Still Needs Manual Backport https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22Still%20Needs%20Manual%20Backport%22
Feb 14, 2024https://github.com/matplotlib/matplotlib/pull/27755#event-11807661914
QuLogichttps://github.com/QuLogic
Feb 14, 2024 https://github.com/matplotlib/matplotlib/pull/27755#ref-commit-d75d3a2
https://github.com/greglucas
https://github.com/QuLogic
Merge pull requesthttps://github.com/QuLogic/matplotlib/commit/d75d3a2b39de62342ec77e935e8ae09e489e34f8
matplotlib#27755https://github.com/matplotlib/matplotlib/pull/27755
from ksunden/release_gil_macos_ev…https://github.com/QuLogic/matplotlib/commit/d75d3a2b39de62342ec77e935e8ae09e489e34f8
d75d3a2https://github.com/QuLogic/matplotlib/commit/d75d3a2b39de62342ec77e935e8ae09e489e34f8
b50843dhttps://github.com/QuLogic/matplotlib/commit/b50843d1ceac118ea5e71ef77fc591c8369954f7
https://github.com/QuLogic
QuLogichttps://github.com/QuLogic
Feb 14, 2024 https://github.com/matplotlib/matplotlib/pull/27755#ref-pullrequest-2135316727
Backport crash fixes to v3.7.x #27793 https://github.com/matplotlib/matplotlib/pull/27793
https://github.com/QuLogic
QuLogichttps://github.com/QuLogic
Still Needs Manual Backport https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22Still%20Needs%20Manual%20Backport%22
Feb 15, 2024https://github.com/matplotlib/matplotlib/pull/27755#event-11808665674
https://github.com/QuLogic
QuLogichttps://github.com/QuLogic
v3.8.3https://github.com/matplotlib/matplotlib/milestone/88
v3.7.5https://github.com/matplotlib/matplotlib/milestone/90
Feb 15, 2024https://github.com/matplotlib/matplotlib/pull/27755#event-11808666273
https://github.com/ksunden
ksundenhttps://github.com/ksunden
Feb 21, 2024 https://github.com/matplotlib/matplotlib/pull/27755#ref-issue-2147457683
[Bug]: Segmentation fault on macOS when using matplotlib.pyplot.ion() in IPython #27808 https://github.com/matplotlib/matplotlib/issues/27808
https://github.com/guyer
guyerhttps://github.com/guyer
Feb 23, 2024 https://github.com/matplotlib/matplotlib/pull/27755#ref-issue-2134651322
Matplotlib 3.8 fails to plot irregular meshes usnistgov/fipy#1009 https://github.com/usnistgov/fipy/issues/1009
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F27755
https://github.com/tacaswell
tacaswell https://github.com/tacaswell
https://github.com/matplotlib/matplotlib/pull/27755/files/141eb39d8268f766ae0d1f27378e59725e42f526
https://github.com/greglucas
greglucas https://github.com/greglucas
https://github.com/matplotlib/matplotlib/pull/27755/files/141eb39d8268f766ae0d1f27378e59725e42f526
GUI: MacOSX https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22GUI%3A%20MacOSX%22
v3.7.5 https://github.com/matplotlib/matplotlib/milestone/90
[Bug]: pyplot hangs at pause in sonoma 14.3 with backend MacOSX https://github.com/matplotlib/matplotlib/issues/27720
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/27755
https://github.com/ksunden
https://github.com/tacaswell
https://github.com/QuLogic
https://github.com/greglucas
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.