René's URL Explorer Experiment


Title: gh-116738: Make syslog module thread-safe by yoney · Pull Request #136760 · python/cpython · GitHub

Open Graph Title: gh-116738: Make syslog module thread-safe by yoney · Pull Request #136760 · python/cpython

X Title: gh-116738: Make syslog module thread-safe by yoney · Pull Request #136760 · python/cpython

Description: Make the setlogmask() function in the syslog module thread-safe. These changes are relevant for scenarios where the GIL is disabled or when using subinterpreters. The functions syslog(), openlog()...

Open Graph Description: Make the setlogmask() function in the syslog module thread-safe. These changes are relevant for scenarios where the GIL is disabled or when using subinterpreters. The functions syslog(), openlog()...

X Description: Make the setlogmask() function in the syslog module thread-safe. These changes are relevant for scenarios where the GIL is disabled or when using subinterpreters. The functions syslog(), openlog()...

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

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:3dd38517-14c0-d76a-f9bb-53574b27c850
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8908:A39F5:12B393C:1995D76:696A9F39
html-safe-nonced9d7cb8d847e3782f29a3502687fd982c21e711661ee32e2f5f09e1516fd5d39
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OTA4OkEzOUY1OjEyQjM5M0M6MTk5NUQ3Njo2OTZBOUYzOSIsInZpc2l0b3JfaWQiOiI1NzY2NTMxMzQ4MDI4ODkwOTM3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacc32d7d2b5da520533a80e44b846b0e4cdbbaac2dcbaff76e251454e70e1e1285
hovercard-subject-tagpull_request:2677729001
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/136760/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/a7d21ff7ca7773d72d78a33d756f79be844da0a95c059cdcf0668095dcdbfa1c/python/cpython/pull/136760
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a7d21ff7ca7773d72d78a33d756f79be844da0a95c059cdcf0668095dcdbfa1c/python/cpython/pull/136760
og:image:altMake the setlogmask() function in the syslog module thread-safe. These changes are relevant for scenarios where the GIL is disabled or when using subinterpreters. The functions syslog(), openlog()...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameyoney
hostnamegithub.com
expected-hostnamegithub.com
Nonea51f97dbb9326f71c08ecb61577457d543c602124d1a2672871258ef37ac5261
turbo-cache-controlno-preview
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
release4bd0eac606c70914085176ef312ebdcd97a8cdf1
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/136760#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F136760
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%2Fpython%2Fcpython%2Fpull%2F136760
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=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/136760
Reloadhttps://github.com/python/cpython/pull/136760
Reloadhttps://github.com/python/cpython/pull/136760
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/136760
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.1k 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.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/cpython/security
Please reload this pagehttps://github.com/python/cpython/pull/136760
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 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
Jump to bottomhttps://github.com/python/cpython/pull/136760#issue-comment-box
mpagehttps://github.com/mpage
python:mainhttps://github.com/python/cpython/tree/main
yoney:ft_sysloghttps://github.com/yoney/cpython/tree/ft_syslog
gh-116738: Make syslog module thread-safe https://github.com/python/cpython/pull/136760#top
mpagehttps://github.com/mpage
python:mainhttps://github.com/python/cpython/tree/main
yoney:ft_sysloghttps://github.com/yoney/cpython/tree/ft_syslog
Conversation 5 https://github.com/python/cpython/pull/136760
Commits 2 https://github.com/python/cpython/pull/136760/commits
Checks 41 https://github.com/python/cpython/pull/136760/checks
Files changed https://github.com/python/cpython/pull/136760/files
Please reload this pagehttps://github.com/python/cpython/pull/136760
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/yoney
yoneyhttps://github.com/yoney
Jul 18, 2025https://github.com/python/cpython/pull/136760#issue-3243772575
Please reload this pagehttps://github.com/python/cpython/pull/136760
cpython/Modules/syslogmodule.chttps://github.com/python/cpython/blob/03017a8cc2242d881a3042b1eb9084c9bae9f85d/Modules/syslogmodule.c#L242-L245
03017a8https://github.com/python/cpython/commit/03017a8cc2242d881a3042b1eb9084c9bae9f85d
setlogmast()https://man.archlinux.org/man/setlogmask.3
@mpagehttps://github.com/mpage
@colesburyhttps://github.com/colesbury
Audit all built-in modules for thread safety #116738https://github.com/python/cpython/issues/116738
Please reload this pagehttps://github.com/python/cpython/pull/136760
https://github.com/yoney
pythongh-116738https://github.com/python/cpython/issues/116738
: Make syslog module thread-safehttps://github.com/python/cpython/pull/136760/commits/d2f43bdfd38c5901720858ef7a3e30144cf3891f
d2f43bdhttps://github.com/python/cpython/pull/136760/commits/d2f43bdfd38c5901720858ef7a3e30144cf3891f
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Jul 18, 2025 https://github.com/python/cpython/pull/136760#ref-issue-2184479275
Audit all built-in modules for thread safety #116738 https://github.com/python/cpython/issues/116738
https://github.com/yoney
yoneyhttps://github.com/yoney
July 18, 2025 17:07https://github.com/python/cpython/pull/136760#event-18704414157
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
Jul 18, 2025https://github.com/python/cpython/pull/136760#event-18704414773
https://github.com/mpage
mpagehttps://github.com/mpage
Yhg1shttps://github.com/Yhg1s
colesburyhttps://github.com/colesbury
mpagehttps://github.com/mpage
July 18, 2025 19:10https://github.com/python/cpython/pull/136760#event-18706075252
https://github.com/mpage
mpagehttps://github.com/mpage
Jul 18, 2025 https://github.com/python/cpython/pull/136760#pullrequestreview-3034604979
View reviewed changes https://github.com/python/cpython/pull/136760/files/d2f43bdfd38c5901720858ef7a3e30144cf3891f
mpagehttps://github.com/mpage
https://github.com/python/cpython/pull/136760#pullrequestreview-3034604979
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/136760
Lib/test/test_free_threading/test_syslog.pyhttps://github.com/python/cpython/pull/136760/files/d2f43bdfd38c5901720858ef7a3e30144cf3891f#diff-a71f68a9fccec021d32c130bc7292b02c2c118ba18e202bf1d189d59470cda84
Please reload this pagehttps://github.com/python/cpython/pull/136760
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Jul 18, 2025https://github.com/python/cpython/pull/136760#event-18706125786
https://github.com/yoney
pythongh-116738https://github.com/python/cpython/issues/116738
: Wrap with try/finallyhttps://github.com/python/cpython/pull/136760/commits/b8102af21b1984e57138572425ece2c715988325
b8102afhttps://github.com/python/cpython/pull/136760/commits/b8102af21b1984e57138572425ece2c715988325
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
topic-free-threading https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-free-threading
Jul 19, 2025https://github.com/python/cpython/pull/136760#event-18708878209
https://github.com/aisk
aiskhttps://github.com/aisk
Jul 19, 2025https://github.com/python/cpython/pull/136760#issuecomment-3092423516
1https://github.com/python/cpython/pull/136760#user-content-fn-1-54206d80950b51be4cf0a40955e0147a
2https://github.com/python/cpython/pull/136760#user-content-fn-2-54206d80950b51be4cf0a40955e0147a
3https://github.com/python/cpython/pull/136760#user-content-fn-3-54206d80950b51be4cf0a40955e0147a
https://man.freebsd.org/cgi/man.cgi?query=syslog&apropos=0&sektion=3&manpath=OpenBSD+7.7&arch=default&format=htmlhttps://man.freebsd.org/cgi/man.cgi?query=syslog&apropos=0&sektion=3&manpath=OpenBSD+7.7&arch=default&format=html
https://github.com/python/cpython/pull/136760#user-content-fnref-1-54206d80950b51be4cf0a40955e0147a
https://www.ibm.com/docs/en/aix/7.3.0?topic=s-syslog-openlog-closelog-setlogmask-subroutinehttps://www.ibm.com/docs/en/aix/7.3.0?topic=s-syslog-openlog-closelog-setlogmask-subroutine
https://github.com/python/cpython/pull/136760#user-content-fnref-2-54206d80950b51be4cf0a40955e0147a
https://peps.python.org/pep-0011/https://peps.python.org/pep-0011/
https://github.com/python/cpython/pull/136760#user-content-fnref-3-54206d80950b51be4cf0a40955e0147a
Please reload this pagehttps://github.com/python/cpython/pull/136760
https://github.com/mpage
mpagehttps://github.com/mpage
Jul 21, 2025https://github.com/python/cpython/pull/136760#issuecomment-3097423703
@aiskhttps://github.com/aisk
@yoneyhttps://github.com/yoney
cpython/Modules/syslogmodule.chttps://github.com/python/cpython/blob/5f9e38f9b9f2b82e841f1b11a8300f2cacd76a36/Modules/syslogmodule.c#L242-L249
5f9e38fhttps://github.com/python/cpython/commit/5f9e38f9b9f2b82e841f1b11a8300f2cacd76a36
Please reload this pagehttps://github.com/python/cpython/pull/136760
https://github.com/mpage
mpagehttps://github.com/mpage
65893c6https://github.com/python/cpython/commit/65893c6f9c69562526d24fe8265119feeea54cbf
Jul 21, 2025https://github.com/python/cpython/pull/136760#event-18732660502
Please reload this pagehttps://github.com/python/cpython/pull/136760
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Jul 21, 2025https://github.com/python/cpython/pull/136760#event-18732661514
taegyunkimhttps://github.com/taegyunkim
Aug 4, 2025 https://github.com/python/cpython/pull/136760#ref-commit-171c8f8
https://github.com/yoney
https://github.com/taegyunkim
pythongh-116738https://github.com/python/cpython/issues/116738
: Make syslog module thread-safe (https://github.com/taegyunkim/cpython/commit/171c8f86b1f9b853ad2b65c689fe126f4c9f47d0
python#136760https://github.com/python/cpython/pull/136760
)https://github.com/taegyunkim/cpython/commit/171c8f86b1f9b853ad2b65c689fe126f4c9f47d0
171c8f8https://github.com/taegyunkim/cpython/commit/171c8f86b1f9b853ad2b65c689fe126f4c9f47d0
Agent-Hellboyhttps://github.com/Agent-Hellboy
Aug 19, 2025 https://github.com/python/cpython/pull/136760#ref-commit-bce3498
https://github.com/yoney
https://github.com/Agent-Hellboy
pythongh-116738https://github.com/python/cpython/issues/116738
: Make syslog module thread-safe (https://github.com/Agent-Hellboy/cpython/commit/bce3498952ead90ae182191de48699bd828086d5
python#136760https://github.com/python/cpython/pull/136760
)https://github.com/Agent-Hellboy/cpython/commit/bce3498952ead90ae182191de48699bd828086d5
bce3498https://github.com/Agent-Hellboy/cpython/commit/bce3498952ead90ae182191de48699bd828086d5
https://github.com/yoney
yoneyhttps://github.com/yoney
October 19, 2025 03:02https://github.com/python/cpython/pull/136760#event-20363451514
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%2F136760
https://github.com/mpage
mpage https://github.com/mpage
https://github.com/python/cpython/pull/136760/files/d2f43bdfd38c5901720858ef7a3e30144cf3891f
https://github.com/colesbury
colesbury https://github.com/colesbury
https://github.com/Yhg1s
Yhg1s https://github.com/Yhg1s
topic-free-threading https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-free-threading
Please reload this pagehttps://github.com/python/cpython/pull/136760
https://github.com/yoney
https://github.com/aisk
https://github.com/mpage
https://github.com/ZeroIntensity
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.