| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:3dd38517-14c0-d76a-f9bb-53574b27c850 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8908:A39F5:12B393C:1995D76:696A9F39 |
| html-safe-nonce | d9d7cb8d847e3782f29a3502687fd982c21e711661ee32e2f5f09e1516fd5d39 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OTA4OkEzOUY1OjEyQjM5M0M6MTk5NUQ3Njo2OTZBOUYzOSIsInZpc2l0b3JfaWQiOiI1NzY2NTMxMzQ4MDI4ODkwOTM3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | c32d7d2b5da520533a80e44b846b0e4cdbbaac2dcbaff76e251454e70e1e1285 |
| hovercard-subject-tag | pull_request:2677729001 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/136760/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/a7d21ff7ca7773d72d78a33d756f79be844da0a95c059cdcf0668095dcdbfa1c/python/cpython/pull/136760 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a7d21ff7ca7773d72d78a33d756f79be844da0a95c059cdcf0668095dcdbfa1c/python/cpython/pull/136760 |
| og:image:alt | 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()... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | yoney |
| hostname | github.com |
| expected-hostname | github.com |
| None | a51f97dbb9326f71c08ecb61577457d543c602124d1a2672871258ef37ac5261 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4bd0eac606c70914085176ef312ebdcd97a8cdf1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://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 AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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 |
| Reload | https://github.com/python/cpython/pull/136760 |
| Reload | https://github.com/python/cpython/pull/136760 |
| Reload | https://github.com/python/cpython/pull/136760 |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://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 page | https://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 service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| Jump to bottom | https://github.com/python/cpython/pull/136760#issue-comment-box |
| mpage | https://github.com/mpage |
| python:main | https://github.com/python/cpython/tree/main |
| yoney:ft_syslog | https://github.com/yoney/cpython/tree/ft_syslog |
|
gh-116738: Make syslog module thread-safe
| https://github.com/python/cpython/pull/136760#top |
| mpage | https://github.com/mpage |
| python:main | https://github.com/python/cpython/tree/main |
| yoney:ft_syslog | https://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 page | https://github.com/python/cpython/pull/136760 |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/{{ revealButtonHref }} |
|
| https://github.com/yoney |
| yoney | https://github.com/yoney |
| Jul 18, 2025 | https://github.com/python/cpython/pull/136760#issue-3243772575 |
| Please reload this page | https://github.com/python/cpython/pull/136760 |
| cpython/Modules/syslogmodule.c | https://github.com/python/cpython/blob/03017a8cc2242d881a3042b1eb9084c9bae9f85d/Modules/syslogmodule.c#L242-L245 |
| 03017a8 | https://github.com/python/cpython/commit/03017a8cc2242d881a3042b1eb9084c9bae9f85d |
| setlogmast() | https://man.archlinux.org/man/setlogmask.3 |
| @mpage | https://github.com/mpage |
| @colesbury | https://github.com/colesbury |
| Audit all built-in modules for thread safety #116738 | https://github.com/python/cpython/issues/116738 |
| Please reload this page | https://github.com/python/cpython/pull/136760 |
|
| https://github.com/yoney |
| pythongh-116738 | https://github.com/python/cpython/issues/116738 |
| : Make syslog module thread-safe | https://github.com/python/cpython/pull/136760/commits/d2f43bdfd38c5901720858ef7a3e30144cf3891f |
| d2f43bd | https://github.com/python/cpython/pull/136760/commits/d2f43bdfd38c5901720858ef7a3e30144cf3891f |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://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 |
| yoney | https://github.com/yoney |
| July 18, 2025 17:07 | https://github.com/python/cpython/pull/136760#event-18704414157 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22 |
| Jul 18, 2025 | https://github.com/python/cpython/pull/136760#event-18704414773 |
| https://github.com/mpage |
| mpage | https://github.com/mpage |
| Yhg1s | https://github.com/Yhg1s |
| colesbury | https://github.com/colesbury |
| mpage | https://github.com/mpage |
| July 18, 2025 19:10 | https://github.com/python/cpython/pull/136760#event-18706075252 |
| https://github.com/mpage |
| mpage | https://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 |
| mpage | https://github.com/mpage |
| https://github.com/python/cpython/pull/136760#pullrequestreview-3034604979 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/136760 |
| Lib/test/test_free_threading/test_syslog.py | https://github.com/python/cpython/pull/136760/files/d2f43bdfd38c5901720858ef7a3e30144cf3891f#diff-a71f68a9fccec021d32c130bc7292b02c2c118ba18e202bf1d189d59470cda84 |
| Please reload this page | https://github.com/python/cpython/pull/136760 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://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, 2025 | https://github.com/python/cpython/pull/136760#event-18706125786 |
|
| https://github.com/yoney |
| pythongh-116738 | https://github.com/python/cpython/issues/116738 |
| : Wrap with try/finally | https://github.com/python/cpython/pull/136760/commits/b8102af21b1984e57138572425ece2c715988325 |
| b8102af | https://github.com/python/cpython/pull/136760/commits/b8102af21b1984e57138572425ece2c715988325 |
| https://github.com/ZeroIntensity |
| ZeroIntensity | https://github.com/ZeroIntensity |
|
topic-free-threading
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-free-threading |
| Jul 19, 2025 | https://github.com/python/cpython/pull/136760#event-18708878209 |
| https://github.com/aisk |
| aisk | https://github.com/aisk |
| Jul 19, 2025 | https://github.com/python/cpython/pull/136760#issuecomment-3092423516 |
| 1 | https://github.com/python/cpython/pull/136760#user-content-fn-1-54206d80950b51be4cf0a40955e0147a |
| 2 | https://github.com/python/cpython/pull/136760#user-content-fn-2-54206d80950b51be4cf0a40955e0147a |
| 3 | https://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=html | https://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-subroutine | https://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 page | https://github.com/python/cpython/pull/136760 |
| https://github.com/mpage |
| mpage | https://github.com/mpage |
| Jul 21, 2025 | https://github.com/python/cpython/pull/136760#issuecomment-3097423703 |
| @aisk | https://github.com/aisk |
| @yoney | https://github.com/yoney |
| cpython/Modules/syslogmodule.c | https://github.com/python/cpython/blob/5f9e38f9b9f2b82e841f1b11a8300f2cacd76a36/Modules/syslogmodule.c#L242-L249 |
| 5f9e38f | https://github.com/python/cpython/commit/5f9e38f9b9f2b82e841f1b11a8300f2cacd76a36 |
| Please reload this page | https://github.com/python/cpython/pull/136760 |
| https://github.com/mpage |
| mpage | https://github.com/mpage |
| 65893c6 | https://github.com/python/cpython/commit/65893c6f9c69562526d24fe8265119feeea54cbf |
| Jul 21, 2025 | https://github.com/python/cpython/pull/136760#event-18732660502 |
| Please reload this page | https://github.com/python/cpython/pull/136760 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting merge
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22 |
| Jul 21, 2025 | https://github.com/python/cpython/pull/136760#event-18732661514 |
| taegyunkim | https://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-116738 | https://github.com/python/cpython/issues/116738 |
| : Make syslog module thread-safe ( | https://github.com/taegyunkim/cpython/commit/171c8f86b1f9b853ad2b65c689fe126f4c9f47d0 |
| python#136760 | https://github.com/python/cpython/pull/136760 |
| ) | https://github.com/taegyunkim/cpython/commit/171c8f86b1f9b853ad2b65c689fe126f4c9f47d0 |
| 171c8f8 | https://github.com/taegyunkim/cpython/commit/171c8f86b1f9b853ad2b65c689fe126f4c9f47d0 |
| Agent-Hellboy | https://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-116738 | https://github.com/python/cpython/issues/116738 |
| : Make syslog module thread-safe ( | https://github.com/Agent-Hellboy/cpython/commit/bce3498952ead90ae182191de48699bd828086d5 |
| python#136760 | https://github.com/python/cpython/pull/136760 |
| ) | https://github.com/Agent-Hellboy/cpython/commit/bce3498952ead90ae182191de48699bd828086d5 |
| bce3498 | https://github.com/Agent-Hellboy/cpython/commit/bce3498952ead90ae182191de48699bd828086d5 |
| https://github.com/yoney |
| yoney | https://github.com/yoney |
| October 19, 2025 03:02 | https://github.com/python/cpython/pull/136760#event-20363451514 |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://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 page | https://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 |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |