René's URL Explorer Experiment


Title: bpo-30703: Improve signal delivery by pitrou · Pull Request #2415 · python/cpython · GitHub

Open Graph Title: bpo-30703: Improve signal delivery by pitrou · Pull Request #2415 · python/cpython

X Title: bpo-30703: Improve signal delivery by pitrou · Pull Request #2415 · python/cpython

Description: Avoid using Py_AddPendingCall from signal handler, to avoid calling signal-unsafe functions.

Open Graph Description: Avoid using Py_AddPendingCall from signal handler, to avoid calling signal-unsafe functions.

X Description: Avoid using Py_AddPendingCall from signal handler, to avoid calling signal-unsafe functions.

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:e0d01188-1d42-275b-3f37-525436a51541
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id890A:1F19:4F8AA1B:70FB9EE:6A5021B6
html-safe-nonce32e4f2fd7e49336b5a30ee5c62ab2a0c3604f63c157bb585ebf6850ce8c751db
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OTBBOjFGMTk6NEY4QUExQjo3MEZCOUVFOjZBNTAyMUI2IiwidmlzaXRvcl9pZCI6IjEwOTExNjg4MTg3OTU5MTM2NTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac7351ed2d0d8bf80e8603519d726edaaf5a0785d8a628b328f74609a96553f250
hovercard-subject-tagpull_request:127519947
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/2415/files
twitter:imagehttps://avatars.githubusercontent.com/u/1721820?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/1721820?s=400&v=4
og:image:altAvoid using Py_AddPendingCall from signal handler, to avoid calling signal-unsafe functions.
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonea08040246389072795e3b4e7b33c6d9a0c564eee02e829a809326d67c418b069
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
released1b91b18e7330fc458dfd824c61eaed7daa830d6
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/2415/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F2415%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
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/enterprise/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%2Fpython%2Fcpython%2Fpull%2F2415%2Ffiles
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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/2415/files
Reloadhttps://github.com/python/cpython/pull/2415/files
Reloadhttps://github.com/python/cpython/pull/2415/files
Please reload this pagehttps://github.com/python/cpython/pull/2415/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/2415/files
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 34.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.6k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.3k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality 0 https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
pitrouhttps://github.com/pitrou
python:masterhttps://github.com/python/cpython/tree/master
pitrou:signal_deliveryhttps://github.com/pitrou/cpython/tree/signal_delivery
Conversation 24 https://github.com/python/cpython/pull/2415
Commits 10 https://github.com/python/cpython/pull/2415/commits
Checks 0 https://github.com/python/cpython/pull/2415/checks
Files changed https://github.com/python/cpython/pull/2415/files
Please reload this pagehttps://github.com/python/cpython/pull/2415/files
bpo-30703: Improve signal delivery https://github.com/python/cpython/pull/2415/files#top
Show all changes 10 commits https://github.com/python/cpython/pull/2415/files
0a68ec4 Improve signal delivery pitrou Jun 26, 2017 https://github.com/python/cpython/pull/2415/commits/0a68ec4b3f60f82b712a499ffa3b31394acce866
161cd38 Remove unused function pitrou Jun 26, 2017 https://github.com/python/cpython/pull/2415/commits/161cd383c415a45be37778278d1bddaa1f2decc0
b577db5 Improve comments pitrou Jun 26, 2017 https://github.com/python/cpython/pull/2415/commits/b577db5880e314707807ec442a158e82a4cdb09d
e0ce64b Merge branch 'master' into signal_delivery pitrou Jun 26, 2017 https://github.com/python/cpython/pull/2415/commits/e0ce64babe3f036fc0afb159d761ca8947f3dba3
e9cec43 Add stress test pitrou Jun 26, 2017 https://github.com/python/cpython/pull/2415/commits/e9cec4344296166f66f6db1cf841025d2fc9b6c8
ea34f8c Adapt for --without-threads pitrou Jun 27, 2017 https://github.com/python/cpython/pull/2415/commits/ea34f8c07d179966801ba603a418c0b00495a120
542465c Add second stress test pitrou Jun 27, 2017 https://github.com/python/cpython/pull/2415/commits/542465c1bdd76ee62ec632a1647a38da8ba0dd2a
a2851eb Merge branch 'master' of https://github.com/python/cpython into signa… pitrou Jun 28, 2017 https://github.com/python/cpython/pull/2415/commits/a2851eb4c92c4d2622a977608c9b4bf1bbd6837a
a71a8fe Add NEWS blurb pitrou Jun 28, 2017 https://github.com/python/cpython/pull/2415/commits/a71a8fe5c477c0b788ea04a9b619e893a9430d73
c37e5d8 Address comments @haypo pitrou Jun 28, 2017 https://github.com/python/cpython/pull/2415/commits/c37e5d8f8428f49103c04e168d59b9ff4b9658e9
Clear filters https://github.com/python/cpython/pull/2415/files
Please reload this pagehttps://github.com/python/cpython/pull/2415/files
Please reload this pagehttps://github.com/python/cpython/pull/2415/files
ceval.h https://github.com/python/cpython/pull/2415/files#diff-ebdfffaf18bedcdb18ef52479aec307e5f9853560ebaabc481808e84458a1400
test_signal.py https://github.com/python/cpython/pull/2415/files#diff-d2af8fb561277f84d7a1c0274aca37955e9f515d0d73be58933abe191df1cca9
2017-06-28-21-07-32.bpo-30703.ULCdFp.rst https://github.com/python/cpython/pull/2415/files#diff-42ddf617d2e6162a1b5896987a2b1a74e2ca28627e45f966737ed41f52fd37ce
signalmodule.c https://github.com/python/cpython/pull/2415/files#diff-99fb04b208835118fdca0d54b76a00c450da3eaff09d2b53e8a03d63bbe88e30
ceval.c https://github.com/python/cpython/pull/2415/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
Include/ceval.hhttps://github.com/python/cpython/pull/2415/files#diff-ebdfffaf18bedcdb18ef52479aec307e5f9853560ebaabc481808e84458a1400
View file https://github.com/pitrou/cpython/blob/c37e5d8f8428f49103c04e168d59b9ff4b9658e9/Include/ceval.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/2415/{{ revealButtonHref }}
https://github.com/python/cpython/pull/2415/files#diff-ebdfffaf18bedcdb18ef52479aec307e5f9853560ebaabc481808e84458a1400
https://github.com/python/cpython/pull/2415/files#diff-ebdfffaf18bedcdb18ef52479aec307e5f9853560ebaabc481808e84458a1400
Lib/test/test_signal.pyhttps://github.com/python/cpython/pull/2415/files#diff-d2af8fb561277f84d7a1c0274aca37955e9f515d0d73be58933abe191df1cca9
View file https://github.com/pitrou/cpython/blob/c37e5d8f8428f49103c04e168d59b9ff4b9658e9/Lib/test/test_signal.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/2415/{{ revealButtonHref }}
https://github.com/python/cpython/pull/2415/files#diff-d2af8fb561277f84d7a1c0274aca37955e9f515d0d73be58933abe191df1cca9
https://github.com/python/cpython/pull/2415/files#diff-d2af8fb561277f84d7a1c0274aca37955e9f515d0d73be58933abe191df1cca9
vstinnerhttps://github.com/vstinner
Jun 28, 2017https://github.com/python/cpython/pull/2415/files#r124648231
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/2415/files
vstinnerhttps://github.com/vstinner
Jun 28, 2017https://github.com/python/cpython/pull/2415/files#r124648533
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/2415/files
pitrouhttps://github.com/pitrou
Jun 28, 2017https://github.com/python/cpython/pull/2415/files#r124654579
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/2415/files
https://github.com/python/cpython/pull/2415/files#diff-d2af8fb561277f84d7a1c0274aca37955e9f515d0d73be58933abe191df1cca9
Misc/NEWS.d/next/Core and Builtins/2017-06-28-21-07-32.bpo-30703.ULCdFp.rsthttps://github.com/python/cpython/pull/2415/files#diff-42ddf617d2e6162a1b5896987a2b1a74e2ca28627e45f966737ed41f52fd37ce
View file https://github.com/pitrou/cpython/blob/c37e5d8f8428f49103c04e168d59b9ff4b9658e9/Misc/NEWS.d/next/Core%20and%20Builtins/2017-06-28-21-07-32.bpo-30703.ULCdFp.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/2415/{{ revealButtonHref }}
Modules/signalmodule.chttps://github.com/python/cpython/pull/2415/files#diff-99fb04b208835118fdca0d54b76a00c450da3eaff09d2b53e8a03d63bbe88e30
View file https://github.com/pitrou/cpython/blob/c37e5d8f8428f49103c04e168d59b9ff4b9658e9/Modules/signalmodule.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/2415/{{ revealButtonHref }}
https://github.com/python/cpython/pull/2415/files#diff-99fb04b208835118fdca0d54b76a00c450da3eaff09d2b53e8a03d63bbe88e30
https://github.com/python/cpython/pull/2415/files#diff-99fb04b208835118fdca0d54b76a00c450da3eaff09d2b53e8a03d63bbe88e30
https://github.com/python/cpython/pull/2415/files#diff-99fb04b208835118fdca0d54b76a00c450da3eaff09d2b53e8a03d63bbe88e30
https://github.com/python/cpython/pull/2415/files#diff-99fb04b208835118fdca0d54b76a00c450da3eaff09d2b53e8a03d63bbe88e30
https://github.com/python/cpython/pull/2415/files#diff-99fb04b208835118fdca0d54b76a00c450da3eaff09d2b53e8a03d63bbe88e30
https://github.com/python/cpython/pull/2415/files#diff-99fb04b208835118fdca0d54b76a00c450da3eaff09d2b53e8a03d63bbe88e30
https://github.com/python/cpython/pull/2415/files#diff-99fb04b208835118fdca0d54b76a00c450da3eaff09d2b53e8a03d63bbe88e30
https://github.com/python/cpython/pull/2415/files#diff-99fb04b208835118fdca0d54b76a00c450da3eaff09d2b53e8a03d63bbe88e30
vstinnerhttps://github.com/vstinner
Jun 28, 2017https://github.com/python/cpython/pull/2415/files#r124645929
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/2415/files
https://github.com/python/cpython/pull/2415/files#diff-99fb04b208835118fdca0d54b76a00c450da3eaff09d2b53e8a03d63bbe88e30
Python/ceval.chttps://github.com/python/cpython/pull/2415/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
View file https://github.com/pitrou/cpython/blob/c37e5d8f8428f49103c04e168d59b9ff4b9658e9/Python/ceval.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/2415/{{ revealButtonHref }}
https://github.com/python/cpython/pull/2415/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
https://github.com/python/cpython/pull/2415/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
https://github.com/python/cpython/pull/2415/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
https://github.com/python/cpython/pull/2415/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
https://github.com/python/cpython/pull/2415/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
https://github.com/python/cpython/pull/2415/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
https://github.com/python/cpython/pull/2415/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
https://github.com/python/cpython/pull/2415/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
https://github.com/python/cpython/pull/2415/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
vstinnerhttps://github.com/vstinner
Jun 28, 2017https://github.com/python/cpython/pull/2415/files#r124647587
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/2415/files
pitrouhttps://github.com/pitrou
Jun 28, 2017https://github.com/python/cpython/pull/2415/files#r124653792
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/2415/files
vstinnerhttps://github.com/vstinner
Jun 28, 2017https://github.com/python/cpython/pull/2415/files#r124646666
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/2415/files
pitrouhttps://github.com/pitrou
Jun 28, 2017https://github.com/python/cpython/pull/2415/files#r124654028
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/2415/files
https://github.com/python/cpython/pull/2415/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
https://github.com/python/cpython/pull/2415/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
https://github.com/python/cpython/pull/2415/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
https://github.com/python/cpython/pull/2415/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
https://github.com/python/cpython/pull/2415/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
https://github.com/python/cpython/pull/2415/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
https://github.com/python/cpython/pull/2415/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
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.