René's URL Explorer Experiment


Title: bpo-41710: PyThread_acquire_lock_timed() clamps the timout by vstinner · Pull Request #28643 · python/cpython · GitHub

Open Graph Title: bpo-41710: PyThread_acquire_lock_timed() clamps the timout by vstinner · Pull Request #28643 · python/cpython

X Title: bpo-41710: PyThread_acquire_lock_timed() clamps the timout by vstinner · Pull Request #28643 · python/cpython

Description: The pthread implementation of PyThread_acquire_lock_timed() using semaphore now clamps the timeout if it is too large, rather than calling Py_FatalError() which aborts the process. PyThread_acquire_lock_timed() no longer uses MICROSECONDS_TO_TIMESPEC() to compute sem_timedwait() argument, but _PyTime_GetSystemClock() and _PyTime_AsTimespec_truncate(). https://bugs.python.org/issue41710

Open Graph Description: The pthread implementation of PyThread_acquire_lock_timed() using semaphore now clamps the timeout if it is too large, rather than calling Py_FatalError() which aborts the process. PyThread_acquire...

X Description: The pthread implementation of PyThread_acquire_lock_timed() using semaphore now clamps the timeout if it is too large, rather than calling Py_FatalError() which aborts the process. PyThread_acquire...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:87c7bb33-ac4a-4dc1-7058-9b06b949d3c2
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBC96:99A22:70B169:984919:6A514FBA
html-safe-noncefbdbd46317cb9269ed582bb6a32dce0a48f879ebc43d296d70b9bfb07ef970d2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQzk2Ojk5QTIyOjcwQjE2OTo5ODQ5MTk6NkE1MTRGQkEiLCJ2aXNpdG9yX2lkIjoiNTgzMzcyNzk1MzkzMDg5OTM4NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmace9aee9a94800ffeb3f6c13f38e31e7927f3f7464a930921f2cd1cff6e6cf998a
hovercard-subject-tagpull_request:746247657
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/28643/files
twitter:imagehttps://avatars.githubusercontent.com/u/194129?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/194129?s=400&v=4
og:image:altThe pthread implementation of PyThread_acquire_lock_timed() using semaphore now clamps the timeout if it is too large, rather than calling Py_FatalError() which aborts the process. PyThread_acquire...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None6f17634ed2af1d116850bcea6c63a70a4d72970f33ade1dd3eef3764b7e16994
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
release511bff6ea06e144ed085ff736aea4c6404987b00
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/28643/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F28643%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%2F28643%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/28643/files
Reloadhttps://github.com/python/cpython/pull/28643/files
Reloadhttps://github.com/python/cpython/pull/28643/files
Please reload this pagehttps://github.com/python/cpython/pull/28643/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/28643/files
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 35k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.7k 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
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
Conversation 4 https://github.com/python/cpython/pull/28643
Commits 5 https://github.com/python/cpython/pull/28643/commits
Checks 0 https://github.com/python/cpython/pull/28643/checks
Files changed https://github.com/python/cpython/pull/28643/files
Please reload this pagehttps://github.com/python/cpython/pull/28643/files
bpo-41710: PyThread_acquire_lock_timed() clamps the timout https://github.com/python/cpython/pull/28643/files#top
Show all changes 5 commits https://github.com/python/cpython/pull/28643/files
8f791d9 bpo-41710: PyThread_acquire_lock_timed() clamps the timout vstinner Sep 29, 2021 https://github.com/python/cpython/pull/28643/commits/8f791d9081bfb1c9abf104f01a9c49ec1039f908
d8e1989 Fix test vstinner Sep 30, 2021 https://github.com/python/cpython/pull/28643/commits/d8e1989e23c3250e358e44a93fa5e79deeab0f00
1cd1474 Fix PY_TIMEOUT_MAX on Windows vstinner Sep 30, 2021 https://github.com/python/cpython/pull/28643/commits/1cd14744a704477dd97750b577338e877e3f1901
01f5238 Fix typo vstinner Sep 30, 2021 https://github.com/python/cpython/pull/28643/commits/01f5238fa003026823e6d97bfaf33b35df974054
60bc581 Fix signed/unsigned comparison vstinner Sep 30, 2021 https://github.com/python/cpython/pull/28643/commits/60bc5817c896dbf2dc3ccdb396f8192dddbbcb06
Clear filters https://github.com/python/cpython/pull/28643/files
Please reload this pagehttps://github.com/python/cpython/pull/28643/files
Please reload this pagehttps://github.com/python/cpython/pull/28643/files
pytime.h https://github.com/python/cpython/pull/28643/files#diff-175713114945349d3ab886fd594806eb093339afbb1d9230ba369e13920b8162
pythread.h https://github.com/python/cpython/pull/28643/files#diff-3004e17e9f687aa4db3d96796a9f8e6d02c1f91260a6799d2c896fb23da4f4a5
2021-09-30-03-14-35.bpo-41710.DDWJKx.rst https://github.com/python/cpython/pull/28643/files#diff-a8a093e175915497caf7e48ceb13bad4d93d9912b1544bc48ea60d10e1b7c6db
2021-09-30-08-57-50.bpo-41710.JMsPAW.rst https://github.com/python/cpython/pull/28643/files#diff-a7a4129b973551dacb2795ea1ed4ed057e18c0cbbaa763f91107544589172195
_queuemodule.c https://github.com/python/cpython/pull/28643/files#diff-c54ccb67f4d6326cd15e61b01ca0d3137a6a8e568dc8bc2cc1b923ec8d1f6aac
_threadmodule.c https://github.com/python/cpython/pull/28643/files#diff-23071700ee893f365a4c117210b9129d4ac6afe5cc6e52bb5cd4cabbc6816e07
faulthandler.c https://github.com/python/cpython/pull/28643/files#diff-b2263afa44dcc1317d50775651e27589b6f15fd858d1508e4d5dcc060ea4f991
thread_nt.h https://github.com/python/cpython/pull/28643/files#diff-6edc5efee5cc0c91351763bfc8f27857b7b32a026b7bb43bbdc3efa63db06f9f
thread_pthread.h https://github.com/python/cpython/pull/28643/files#diff-6bd490c2d033ab2a6384697027bed62ac2aa77d7833a2fd822e5e7ab84aa861f
Include/cpython/pytime.hhttps://github.com/python/cpython/pull/28643/files#diff-175713114945349d3ab886fd594806eb093339afbb1d9230ba369e13920b8162
View file https://github.com/python/cpython/blob/60bc5817c896dbf2dc3ccdb396f8192dddbbcb06/Include/cpython/pytime.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/28643/{{ revealButtonHref }}
https://github.com/python/cpython/pull/28643/files#diff-175713114945349d3ab886fd594806eb093339afbb1d9230ba369e13920b8162
https://github.com/python/cpython/pull/28643/files#diff-175713114945349d3ab886fd594806eb093339afbb1d9230ba369e13920b8162
Include/pythread.hhttps://github.com/python/cpython/pull/28643/files#diff-3004e17e9f687aa4db3d96796a9f8e6d02c1f91260a6799d2c896fb23da4f4a5
View file https://github.com/python/cpython/blob/60bc5817c896dbf2dc3ccdb396f8192dddbbcb06/Include/pythread.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/28643/{{ revealButtonHref }}
https://github.com/python/cpython/pull/28643/files#diff-3004e17e9f687aa4db3d96796a9f8e6d02c1f91260a6799d2c896fb23da4f4a5
https://github.com/python/cpython/pull/28643/files#diff-3004e17e9f687aa4db3d96796a9f8e6d02c1f91260a6799d2c896fb23da4f4a5
Misc/NEWS.d/next/C API/2021-09-30-03-14-35.bpo-41710.DDWJKx.rsthttps://github.com/python/cpython/pull/28643/files#diff-a8a093e175915497caf7e48ceb13bad4d93d9912b1544bc48ea60d10e1b7c6db
View file https://github.com/python/cpython/blob/60bc5817c896dbf2dc3ccdb396f8192dddbbcb06/Misc/NEWS.d/next/C%20API/2021-09-30-03-14-35.bpo-41710.DDWJKx.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/28643/{{ revealButtonHref }}
Misc/NEWS.d/next/Library/2021-09-30-08-57-50.bpo-41710.JMsPAW.rsthttps://github.com/python/cpython/pull/28643/files#diff-a7a4129b973551dacb2795ea1ed4ed057e18c0cbbaa763f91107544589172195
View file https://github.com/python/cpython/blob/60bc5817c896dbf2dc3ccdb396f8192dddbbcb06/Misc/NEWS.d/next/Library/2021-09-30-08-57-50.bpo-41710.JMsPAW.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/28643/{{ revealButtonHref }}
Modules/_queuemodule.chttps://github.com/python/cpython/pull/28643/files#diff-c54ccb67f4d6326cd15e61b01ca0d3137a6a8e568dc8bc2cc1b923ec8d1f6aac
View file https://github.com/python/cpython/blob/60bc5817c896dbf2dc3ccdb396f8192dddbbcb06/Modules/_queuemodule.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/28643/{{ revealButtonHref }}
https://github.com/python/cpython/pull/28643/files#diff-c54ccb67f4d6326cd15e61b01ca0d3137a6a8e568dc8bc2cc1b923ec8d1f6aac
https://github.com/python/cpython/pull/28643/files#diff-c54ccb67f4d6326cd15e61b01ca0d3137a6a8e568dc8bc2cc1b923ec8d1f6aac
Modules/_threadmodule.chttps://github.com/python/cpython/pull/28643/files#diff-23071700ee893f365a4c117210b9129d4ac6afe5cc6e52bb5cd4cabbc6816e07
View file https://github.com/python/cpython/blob/60bc5817c896dbf2dc3ccdb396f8192dddbbcb06/Modules/_threadmodule.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/28643/{{ revealButtonHref }}
https://github.com/python/cpython/pull/28643/files#diff-23071700ee893f365a4c117210b9129d4ac6afe5cc6e52bb5cd4cabbc6816e07
https://github.com/python/cpython/pull/28643/files#diff-23071700ee893f365a4c117210b9129d4ac6afe5cc6e52bb5cd4cabbc6816e07
Modules/faulthandler.chttps://github.com/python/cpython/pull/28643/files#diff-b2263afa44dcc1317d50775651e27589b6f15fd858d1508e4d5dcc060ea4f991
View file https://github.com/python/cpython/blob/60bc5817c896dbf2dc3ccdb396f8192dddbbcb06/Modules/faulthandler.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/28643/{{ revealButtonHref }}
https://github.com/python/cpython/pull/28643/files#diff-b2263afa44dcc1317d50775651e27589b6f15fd858d1508e4d5dcc060ea4f991
https://github.com/python/cpython/pull/28643/files#diff-b2263afa44dcc1317d50775651e27589b6f15fd858d1508e4d5dcc060ea4f991
Python/thread_nt.hhttps://github.com/python/cpython/pull/28643/files#diff-6edc5efee5cc0c91351763bfc8f27857b7b32a026b7bb43bbdc3efa63db06f9f
View file https://github.com/python/cpython/blob/60bc5817c896dbf2dc3ccdb396f8192dddbbcb06/Python/thread_nt.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/28643/{{ revealButtonHref }}
https://github.com/python/cpython/pull/28643/files#diff-6edc5efee5cc0c91351763bfc8f27857b7b32a026b7bb43bbdc3efa63db06f9f
https://github.com/python/cpython/pull/28643/files#diff-6edc5efee5cc0c91351763bfc8f27857b7b32a026b7bb43bbdc3efa63db06f9f
https://github.com/python/cpython/pull/28643/files#diff-6edc5efee5cc0c91351763bfc8f27857b7b32a026b7bb43bbdc3efa63db06f9f
Python/thread_pthread.hhttps://github.com/python/cpython/pull/28643/files#diff-6bd490c2d033ab2a6384697027bed62ac2aa77d7833a2fd822e5e7ab84aa861f
View file https://github.com/python/cpython/blob/60bc5817c896dbf2dc3ccdb396f8192dddbbcb06/Python/thread_pthread.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/28643/{{ revealButtonHref }}
https://github.com/python/cpython/pull/28643/files#diff-6bd490c2d033ab2a6384697027bed62ac2aa77d7833a2fd822e5e7ab84aa861f
https://github.com/python/cpython/pull/28643/files#diff-6bd490c2d033ab2a6384697027bed62ac2aa77d7833a2fd822e5e7ab84aa861f
https://github.com/python/cpython/pull/28643/files#diff-6bd490c2d033ab2a6384697027bed62ac2aa77d7833a2fd822e5e7ab84aa861f
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.