René's URL Explorer Experiment


Title: gh-158893: Make os.strerror() thread-safe by vstinner · Pull Request #158927 · python/cpython · GitHub

Open Graph Title: gh-158893: Make os.strerror() thread-safe by vstinner · Pull Request #158927 · python/cpython

X Title: gh-158893: Make os.strerror() thread-safe by vstinner · Pull Request #158927 · python/cpython

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

Open Graph Description: Make os.strerror() thread-safe: use the reentrant strerror_r() function if available. The configure script now checks if strerror_r() is supported. Add a stress test to test_free_threading.test_os...

X Description: Make os.strerror() thread-safe: use the reentrant strerror_r() function if available. The configure script now checks if strerror_r() is supported. Add a stress test to test_free_threading.test_os...

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

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:22f4b879-9877-c44f-d2fa-230c707dfbce
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD630:382318:58F39E:6FB58C:6B0205E6
html-safe-nonce7bc93f7e4d07fdad09b64f609197576c9d5862805e8830047b25366a625e63bf
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENjMwOjM4MjMxODo1OEYzOUU6NkZCNThDOjZCMDIwNUU2IiwidmlzaXRvcl9pZCI6Ijg3NjQ1NTY0NDkyNDMzMzQxMTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac877e2e2b5a9547e9a57b3cffaef007fab7cc1d86fafaadd9aea12404edd2b1ba
hovercard-subject-tagpull_request:4762938502
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/158927/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/7bb0703c0948d163f3002432492a2afaaab5001dd3a311e2c113cceeac7c9736/python/cpython/pull/158927
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7bb0703c0948d163f3002432492a2afaaab5001dd3a311e2c113cceeac7c9736/python/cpython/pull/158927
og:image:altMake os.strerror() thread-safe: use the reentrant strerror_r() function if available. The configure script now checks if strerror_r() is supported. Add a stress test to test_free_threading.test_os...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamevstinner
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/158927#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F158927
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%2F158927
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/158927
Reloadhttps://github.com/python/cpython/pull/158927
Reloadhttps://github.com/python/cpython/pull/158927
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
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
vstinner:strerror_rhttps://github.com/vstinner/cpython/tree/strerror_r
Conversationhttps://github.com/python/cpython/pull/158927
Commits3 (3)https://github.com/python/cpython/pull/158927/commits
Checkshttps://github.com/python/cpython/pull/158927/checks
Files changedhttps://github.com/python/cpython/pull/158927/files
gh-158893: Make os.strerror() thread-safehttps://github.com/python/cpython/pull/158927#top
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
vstinner:strerror_rhttps://github.com/vstinner/cpython/tree/strerror_r
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Oct 6, 2026https://github.com/python/cpython/pull/158927#issue-5733373196
Please reload this pagehttps://github.com/python/cpython/pull/158927
Calling os.strerror() in parallel is not thread safe on FreeBSD #158893https://github.com/python/cpython/issues/158893
Please reload this pagehttps://github.com/python/cpython/pull/158927
https://github.com/vstinner
pythongh-158893https://github.com/python/cpython/issues/158893
: Make os.strerror() thread-safehttps://github.com/python/cpython/pull/158927/commits/eb23db2ccb1d40d64fe2f713492d8fba90e176ff
eb23db2https://github.com/python/cpython/pull/158927/commits/eb23db2ccb1d40d64fe2f713492d8fba90e176ff
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
AA-Turnerhttps://github.com/AA-Turner
corona10https://github.com/corona10
emmatypinghttps://github.com/emmatyping
erlend-aaslandhttps://github.com/erlend-aasland
itamarohttps://github.com/itamaro
code ownershttps://github.com/python/cpython/blob/ea0ee925ad755999d6095ba61de2652ec9275f04/.github/CODEOWNERS#L84
October 6, 2026 18:22https://github.com/python/cpython/pull/158927#event-32626364875
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Oct 6, 2026 https://github.com/python/cpython/pull/158927#ref-issue-5722710840
Calling os.strerror() in parallel is not thread safe on FreeBSD #158893 https://github.com/python/cpython/issues/158893
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
Oct 6, 2026https://github.com/python/cpython/pull/158927#event-32626372211
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Oct 6, 2026https://github.com/python/cpython/pull/158927#issuecomment-6022720293
#158926https://github.com/python/cpython/pull/158926
Please reload this pagehttps://github.com/python/cpython/pull/158927
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Oct 6, 2026https://github.com/python/cpython/pull/158927#issuecomment-6023484632
Please reload this pagehttps://github.com/python/cpython/pull/158927
vstinnerhttps://github.com/vstinner
October 6, 2026 21:11https://github.com/python/cpython/pull/158927#commits-pushed-2cebc12
https://github.com/vstinner
Fix for Androidhttps://github.com/python/cpython/pull/158927/commits/2cebc122603348e5efb148df3f561477133a011d
2cebc12https://github.com/python/cpython/pull/158927/commits/2cebc122603348e5efb148df3f561477133a011d
https://github.com/vstinner
Merge branch 'main' into strerror_rhttps://github.com/python/cpython/pull/158927/commits/7d18e20f50a5a25aca8c14b68cdb9d4d532a35ae
7d18e20https://github.com/python/cpython/pull/158927/commits/7d18e20f50a5a25aca8c14b68cdb9d4d532a35ae
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Oct 6, 2026https://github.com/python/cpython/pull/158927#issuecomment-6024020338
Please reload this pagehttps://github.com/python/cpython/pull/158927
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Oct 6, 2026https://github.com/python/cpython/pull/158927#issuecomment-6025001782
Please reload this pagehttps://github.com/python/cpython/pull/158927
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Oct 6, 2026https://github.com/python/cpython/pull/158927#issuecomment-6025002646
@vstinnerhttps://github.com/vstinner
7d18e20https://github.com/python/cpython/commit/7d18e20f50a5a25aca8c14b68cdb9d4d532a35ae
https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F158927%2Fmergehttps://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F158927%2Fmerge
Please reload this pagehttps://github.com/python/cpython/pull/158927
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Oct 6, 2026https://github.com/python/cpython/pull/158927#issuecomment-6025371750
https://buildbot.python.org/#/builders/2369/builds/1https://buildbot.python.org/#/builders/2369/builds/1
#158935https://github.com/python/cpython/pull/158935
Please reload this pagehttps://github.com/python/cpython/pull/158927
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
6318730https://github.com/python/cpython/commit/6318730aeebdf7282fa9a18aca52af4e87c0c39d
Oct 6, 2026https://github.com/python/cpython/pull/158927#event-32637314602
Please reload this pagehttps://github.com/python/cpython/pull/158927
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
October 6, 2026 21:02https://github.com/python/cpython/pull/158927#event-32637317517
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
Oct 6, 2026https://github.com/python/cpython/pull/158927#event-32637318438
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
needs backport to 3.14 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22
needs backport to 3.15 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.15%22
Oct 6, 2026https://github.com/python/cpython/pull/158927#event-32637350147
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Oct 6, 2026https://github.com/python/cpython/pull/158927#issuecomment-6025395229
@vstinnerhttps://github.com/vstinner
Please reload this pagehttps://github.com/python/cpython/pull/158927
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Oct 6, 2026https://github.com/python/cpython/pull/158927#issuecomment-6025395296
@vstinnerhttps://github.com/vstinner
Please reload this pagehttps://github.com/python/cpython/pull/158927
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Oct 6, 2026https://github.com/python/cpython/pull/158927#issuecomment-6025398503
@vstinnerhttps://github.com/vstinner
cherry_pickerhttps://pypi.org/project/cherry-picker/
devguidehttps://devguide.python.org/getting-started/git-boot-camp/#backporting-merged-changes
Please reload this pagehttps://github.com/python/cpython/pull/158927
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
vstinnerhttps://github.com/vstinner
Oct 6, 2026https://github.com/python/cpython/pull/158927#event-32637367936
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Oct 6, 2026https://github.com/python/cpython/pull/158927#issuecomment-6025400157
@vstinnerhttps://github.com/vstinner
cherry_pickerhttps://pypi.org/project/cherry-picker/
devguidehttps://devguide.python.org/getting-started/git-boot-camp/#backporting-merged-changes
Please reload this pagehttps://github.com/python/cpython/pull/158927
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Oct 6, 2026https://github.com/python/cpython/pull/158927#issuecomment-6026343998
Please reload this pagehttps://github.com/python/cpython/pull/158927
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Oct 10, 2026https://github.com/python/cpython/pull/158927#issuecomment-6097670034
#159120https://github.com/python/cpython/pull/159120
Please reload this pagehttps://github.com/python/cpython/pull/158927
vstinnerhttps://github.com/vstinner
Oct 10, 2026 https://github.com/python/cpython/pull/158927#ref-commit-c774d15
https://github.com/vstinner
[3.15]https://github.com/python/cpython/commit/c774d1526f32057c3a34e0ff0a217a1acc8bf43a
gh-158893https://github.com/python/cpython/issues/158893
: Make os.strerror() thread-safe (https://github.com/python/cpython/commit/c774d1526f32057c3a34e0ff0a217a1acc8bf43a
#159120https://github.com/python/cpython/pull/159120
)https://github.com/python/cpython/commit/c774d1526f32057c3a34e0ff0a217a1acc8bf43a
c774d15https://github.com/python/cpython/commit/c774d1526f32057c3a34e0ff0a217a1acc8bf43a
gh-157695https://github.com/python/cpython/issues/157695
#158926https://github.com/python/cpython/pull/158926
978a8behttps://github.com/python/cpython/commit/978a8befa5ec9b28b161a56b16d326330aef4733
gh-158893https://github.com/python/cpython/issues/158893
#158927https://github.com/python/cpython/pull/158927
gh-158893https://github.com/python/cpython/issues/158893
#158982https://github.com/python/cpython/pull/158982
15dd735https://github.com/python/cpython/commit/15dd7356f300733b9c3fcc35f0d75e61a6ef3e05
vstinnerhttps://github.com/vstinner
Oct 10, 2026 https://github.com/python/cpython/pull/158927#ref-commit-9559734
https://github.com/vstinner
[3.15]https://github.com/vstinner/cpython/commit/955973435e083d94df1fc24e7dd18870da50d36f
pythongh-158893https://github.com/python/cpython/issues/158893
: Make os.strerror() thread-safe (https://github.com/vstinner/cpython/commit/955973435e083d94df1fc24e7dd18870da50d36f
python#159120https://github.com/python/cpython/pull/159120
)https://github.com/vstinner/cpython/commit/955973435e083d94df1fc24e7dd18870da50d36f
9559734https://github.com/vstinner/cpython/commit/955973435e083d94df1fc24e7dd18870da50d36f
pythongh-157695https://github.com/python/cpython/issues/157695
python#158926https://github.com/python/cpython/pull/158926
978a8behttps://github.com/vstinner/cpython/commit/978a8befa5ec9b28b161a56b16d326330aef4733
pythongh-158893https://github.com/python/cpython/issues/158893
python#158927https://github.com/python/cpython/pull/158927
pythongh-158893https://github.com/python/cpython/issues/158893
python#158982https://github.com/python/cpython/pull/158982
15dd735https://github.com/vstinner/cpython/commit/15dd7356f300733b9c3fcc35f0d75e61a6ef3e05
c774d15https://github.com/vstinner/cpython/commit/c774d1526f32057c3a34e0ff0a217a1acc8bf43a
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Oct 10, 2026 https://github.com/python/cpython/pull/158927#ref-pullrequest-5794986003
[3.14] gh-158893: Make os.strerror() thread-safe (#159120) #159145 https://github.com/python/cpython/pull/159145
vstinnerhttps://github.com/vstinner
Oct 10, 2026 https://github.com/python/cpython/pull/158927#ref-commit-b23d657
https://github.com/vstinner
[3.14]https://github.com/python/cpython/commit/b23d657d0cc029a83cfe8a1a122005b4601c8e7e
gh-158893https://github.com/python/cpython/issues/158893
: Make os.strerror() thread-safe (https://github.com/python/cpython/commit/b23d657d0cc029a83cfe8a1a122005b4601c8e7e
#159120https://github.com/python/cpython/pull/159120
) (https://github.com/python/cpython/commit/b23d657d0cc029a83cfe8a1a122005b4601c8e7e
#159145https://github.com/python/cpython/pull/159145
)https://github.com/python/cpython/commit/b23d657d0cc029a83cfe8a1a122005b4601c8e7e
b23d657https://github.com/python/cpython/commit/b23d657d0cc029a83cfe8a1a122005b4601c8e7e
gh-158893https://github.com/python/cpython/issues/158893
#159120https://github.com/python/cpython/pull/159120
gh-157695https://github.com/python/cpython/issues/157695
#158926https://github.com/python/cpython/pull/158926
978a8behttps://github.com/python/cpython/commit/978a8befa5ec9b28b161a56b16d326330aef4733
gh-158893https://github.com/python/cpython/issues/158893
#158927https://github.com/python/cpython/pull/158927
gh-158893https://github.com/python/cpython/issues/158893
#158982https://github.com/python/cpython/pull/158982
15dd735https://github.com/python/cpython/commit/15dd7356f300733b9c3fcc35f0d75e61a6ef3e05
c774d15https://github.com/python/cpython/commit/c774d1526f32057c3a34e0ff0a217a1acc8bf43a
https://github.com/hugovk
hugovkhttps://github.com/hugovk
needs backport to 3.14 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22
needs backport to 3.15 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.15%22
Oct 11, 2026https://github.com/python/cpython/pull/158927#event-32975205503
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%2F158927
https://github.com/erlend-aasland
erlend-aasland https://github.com/erlend-aasland
https://github.com/corona10
corona10 https://github.com/corona10
https://github.com/AA-Turner
AA-Turner https://github.com/AA-Turner
https://github.com/emmatyping
emmatyping https://github.com/emmatyping
https://github.com/itamaro
itamaro https://github.com/itamaro
Please reload this pagehttps://github.com/python/cpython/pull/158927
https://github.com/vstinner
vstinner https://github.com/vstinner
Please reload this pagehttps://github.com/python/cpython/pull/158927
https://github.com/vstinner
https://github.com/bedevere-bot
https://github.com/hugovk
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.