René's URL Explorer Experiment


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

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

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

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

Open Graph Description: Issue: Calling os.strerror() in parallel is not thread safe on FreeBSD #158893

X Description: Issue: Calling os.strerror() in parallel is not thread safe on FreeBSD #158893

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

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:14e4f15a-a9c0-0451-d5fa-a6ff61415db6
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB29E:1D86C4:3BC1728:4BF0542:6B02040E
html-safe-nonce1a8746f32e80f1d6dc03983b2b01a73bfa7dbbde07862cd27891facbcf2b0488
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMjlFOjFEODZDNDozQkMxNzI4OjRCRjA1NDI6NkIwMjA0MEUiLCJ2aXNpdG9yX2lkIjoiOTg1NTMxMjg0OTU4ODcyNTkwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac2052c623185ab4961dcf2a25aeba1a3f965d1ade9e35ae3ea13799e2e623e9e0
hovercard-subject-tagpull_request:4811305059
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/159120/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/90dd4ea5960805104422f041300d7e00e2571121fb0f18c3b702a3bb6889f2c8/python/cpython/pull/159120
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/90dd4ea5960805104422f041300d7e00e2571121fb0f18c3b702a3bb6889f2c8/python/cpython/pull/159120
og:image:altIssue: Calling os.strerror() in parallel is not thread safe on FreeBSD #158893
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/159120#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F159120
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%2F159120
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/159120
Reloadhttps://github.com/python/cpython/pull/159120
Reloadhttps://github.com/python/cpython/pull/159120
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:3.15https://github.com/python/cpython/tree/3.15
vstinner:strerror15https://github.com/vstinner/cpython/tree/strerror15
Conversationhttps://github.com/python/cpython/pull/159120
Commits3 (3)https://github.com/python/cpython/pull/159120/commits
Checkshttps://github.com/python/cpython/pull/159120/checks
Files changedhttps://github.com/python/cpython/pull/159120/files
[3.15] gh-158893: Make os.strerror() thread-safehttps://github.com/python/cpython/pull/159120#top
vstinnerhttps://github.com/vstinner
python:3.15https://github.com/python/cpython/tree/3.15
vstinner:strerror15https://github.com/vstinner/cpython/tree/strerror15
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Oct 10, 2026https://github.com/python/cpython/pull/159120#issue-5791356142
Please reload this pagehttps://github.com/python/cpython/pull/159120
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/159120
vstinnerhttps://github.com/vstinner
October 10, 2026 14:40https://github.com/python/cpython/pull/159120#commits-pushed-ece561e
https://github.com/vstinner
pythongh-157695https://github.com/python/cpython/issues/157695
: Parse also _Py_HAVE_xxx variables in sysconfig (https://github.com/python/cpython/pull/159120/commits/ece561eed2a52621a3953d0fc5e9e2ede0b31bb7
pyth…https://github.com/python/cpython/pull/158926
ece561ehttps://github.com/python/cpython/pull/159120/commits/ece561eed2a52621a3953d0fc5e9e2ede0b31bb7
…on#158926https://github.com/python/cpython/pull/158926
978a8behttps://github.com/vstinner/cpython/commit/978a8befa5ec9b28b161a56b16d326330aef4733
https://github.com/vstinner
pythongh-158893https://github.com/python/cpython/issues/158893
: Make os.strerror() thread-safe (https://github.com/python/cpython/pull/159120/commits/8b58cfba654bec96df916ec263fa894754945405
python#158927https://github.com/python/cpython/pull/158927
)https://github.com/python/cpython/pull/159120/commits/8b58cfba654bec96df916ec263fa894754945405
8b58cfbhttps://github.com/python/cpython/pull/159120/commits/8b58cfba654bec96df916ec263fa894754945405
https://github.com/vstinner
pythongh-158893https://github.com/python/cpython/issues/158893
: Add internal _Py_strerror() function (https://github.com/python/cpython/pull/159120/commits/710c455bd0e6092b195d5108f76505eaefbe0500
python#158982https://github.com/python/cpython/pull/158982
)https://github.com/python/cpython/pull/159120/commits/710c455bd0e6092b195d5108f76505eaefbe0500
710c455https://github.com/python/cpython/pull/159120/commits/710c455bd0e6092b195d5108f76505eaefbe0500
15dd735https://github.com/vstinner/cpython/commit/15dd7356f300733b9c3fcc35f0d75e61a6ef3e05
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
AA-Turnerhttps://github.com/AA-Turner
FFY00https://github.com/FFY00
corona10https://github.com/corona10
emmatypinghttps://github.com/emmatyping
erlend-aaslandhttps://github.com/erlend-aasland
pablogsalhttps://github.com/pablogsal
code ownershttps://github.com/python/cpython/blob/29e9fe279a6f077dc1f4dc6e2e316b34df9d74a3/.github/CODEOWNERS#L84
October 10, 2026 12:48https://github.com/python/cpython/pull/159120#event-32941204003
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Oct 10, 2026 https://github.com/python/cpython/pull/159120#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 10, 2026https://github.com/python/cpython/pull/159120#event-32941207460
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Oct 10, 2026https://github.com/python/cpython/pull/159120#issuecomment-6097661041
Please reload this pagehttps://github.com/python/cpython/pull/159120
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Oct 10, 2026https://github.com/python/cpython/pull/159120#issuecomment-6097661724
@vstinnerhttps://github.com/vstinner
710c455https://github.com/python/cpython/commit/710c455bd0e6092b195d5108f76505eaefbe0500
https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F159120%2Fmergehttps://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F159120%2Fmerge
Please reload this pagehttps://github.com/python/cpython/pull/159120
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
Oct 10, 2026https://github.com/python/cpython/pull/159120#event-32941230787
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Oct 10, 2026 https://github.com/python/cpython/pull/159120#ref-pullrequest-5733373196
gh-158893: Make os.strerror() thread-safe #158927 https://github.com/python/cpython/pull/158927
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Oct 10, 2026https://github.com/python/cpython/pull/159120#issuecomment-6101687395
Please reload this pagehttps://github.com/python/cpython/pull/159120
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
c774d15https://github.com/python/cpython/commit/c774d1526f32057c3a34e0ff0a217a1acc8bf43a
Oct 10, 2026https://github.com/python/cpython/pull/159120#event-32956455731
Please reload this pagehttps://github.com/python/cpython/pull/159120
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
October 10, 2026 20:08https://github.com/python/cpython/pull/159120#event-32956456636
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Oct 10, 2026https://github.com/python/cpython/pull/159120#issuecomment-6101689047
@vstinnerhttps://github.com/vstinner
Please reload this pagehttps://github.com/python/cpython/pull/159120
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 10, 2026https://github.com/python/cpython/pull/159120#event-32956457444
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Oct 10, 2026https://github.com/python/cpython/pull/159120#issuecomment-6101689460
@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/159120
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
vstinnerhttps://github.com/vstinner
Oct 10, 2026https://github.com/python/cpython/pull/159120#event-32956459645
vstinnerhttps://github.com/vstinner
Oct 10, 2026 https://github.com/python/cpython/pull/159120#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/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Oct 10, 2026https://github.com/python/cpython/pull/159120#issuecomment-6101834055
GH-159145https://github.com/python/cpython/pull/159145
3.14 branchhttps://github.com/python/cpython/tree/3.14
Please reload this pagehttps://github.com/python/cpython/pull/159120
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
needs backport to 3.14 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22
Oct 10, 2026https://github.com/python/cpython/pull/159120#event-32957041607
vstinnerhttps://github.com/vstinner
Oct 10, 2026 https://github.com/python/cpython/pull/159120#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.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%2F159120
https://github.com/FFY00
FFY00 https://github.com/FFY00
https://github.com/pablogsal
pablogsal https://github.com/pablogsal
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
Please reload this pagehttps://github.com/python/cpython/pull/159120
https://github.com/vstinner
vstinner https://github.com/vstinner
Please reload this pagehttps://github.com/python/cpython/pull/159120
https://github.com/vstinner
https://github.com/bedevere-bot
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.