René's URL Explorer Experiment


Title: gh-114315: Make `threading.Lock` a real class, not a factory function by sobolevn · Pull Request #114479 · python/cpython · GitHub

Open Graph Title: gh-114315: Make `threading.Lock` a real class, not a factory function by sobolevn · Pull Request #114479 · python/cpython

X Title: gh-114315: Make `threading.Lock` a real class, not a factory function by sobolevn · Pull Request #114479 · python/cpython

Description: Issue: TypeError for threading.Lock | None #114315 📚 Documentation preview 📚: https://cpython-previews--114479.org.readthedocs.build/

Open Graph Description: Issue: TypeError for threading.Lock | None #114315 📚 Documentation preview 📚: https://cpython-previews--114479.org.readthedocs.build/

X Description: Issue: TypeError for threading.Lock | None #114315 📚 Documentation preview 📚: https://cpython-previews--114479.org.readthedocs.build/

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

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:93102a26-8b9a-62a8-97a9-a8055f1c2183
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD2BA:DE287:BCCCBA:10005CC:696AC093
html-safe-nonce83f7350d01ec7d9a6241759add2be314b9cd7a649426b46b9d30cc65ff170b12
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMkJBOkRFMjg3OkJDQ0NCQToxMDAwNUNDOjY5NkFDMDkzIiwidmlzaXRvcl9pZCI6IjQ0MjgyMzg2MDI2OTI2OTEzOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacc3848bd0d945437a9b9c5bd7d940b858b2ecb847b6ce4959fad27a5dfc9adb10
hovercard-subject-tagpull_request:1691541053
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/114479/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/7ae2a6314f6d646a6e750465eafc1e184cbd1b98ac2be04296ee4d046f63772b/python/cpython/pull/114479
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7ae2a6314f6d646a6e750465eafc1e184cbd1b98ac2be04296ee4d046f63772b/python/cpython/pull/114479
og:image:altIssue: TypeError for threading.Lock | None #114315 📚 Documentation preview 📚: https://cpython-previews--114479.org.readthedocs.build/
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesobolevn
hostnamegithub.com
expected-hostnamegithub.com
None986b6a1d774985095564e64d6963d11f094da3d0e2bfda2ab1a27d63662eb033
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
release89ad2112b9c4e11df6a0c13c8c1f8eedd36b0977
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/114479#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F114479
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%2F114479
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/114479
Reloadhttps://github.com/python/cpython/pull/114479
Reloadhttps://github.com/python/cpython/pull/114479
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/114479
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/114479
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/114479#issue-comment-box
gpsheadhttps://github.com/gpshead
python:mainhttps://github.com/python/cpython/tree/main
sobolevn:issue-114315https://github.com/sobolevn/cpython/tree/issue-114315
gh-114315: Make threading.Lock a real class, not a factory function https://github.com/python/cpython/pull/114479#top
gpsheadhttps://github.com/gpshead
python:mainhttps://github.com/python/cpython/tree/main
sobolevn:issue-114315https://github.com/sobolevn/cpython/tree/issue-114315
Conversation 1 https://github.com/python/cpython/pull/114479
Commits 9 https://github.com/python/cpython/pull/114479/commits
Checks 0 https://github.com/python/cpython/pull/114479/checks
Files changed https://github.com/python/cpython/pull/114479/files
Please reload this pagehttps://github.com/python/cpython/pull/114479
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
Jan 23, 2024https://github.com/python/cpython/pull/114479#issue-2095839303
Please reload this pagehttps://github.com/python/cpython/pull/114479
TypeError for threading.Lock | None #114315https://github.com/python/cpython/issues/114315
https://cpython-previews--114479.org.readthedocs.build/https://cpython-previews--114479.org.readthedocs.build/
Please reload this pagehttps://github.com/python/cpython/pull/114479
sobolevnhttps://github.com/sobolevn
January 22, 2024 13:44https://github.com/python/cpython/pull/114479#commits-pushed-3620fa4
https://github.com/sobolevn
wiphttps://github.com/python/cpython/pull/114479/commits/3620fa4593c3977e019aff08555c15d90c87364a
3620fa4https://github.com/python/cpython/pull/114479/commits/3620fa4593c3977e019aff08555c15d90c87364a
https://github.com/sobolevn
pythongh-114315https://github.com/python/cpython/issues/114315
: Makehttps://github.com/python/cpython/pull/114479/commits/4b1c4f6bedb95aa16ecbf429709d415e286617b3
threading.Lockhttps://github.com/python/cpython/pull/114479/commits/4b1c4f6bedb95aa16ecbf429709d415e286617b3
a real classhttps://github.com/python/cpython/pull/114479/commits/4b1c4f6bedb95aa16ecbf429709d415e286617b3
4b1c4f6https://github.com/python/cpython/pull/114479/commits/4b1c4f6bedb95aa16ecbf429709d415e286617b3
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
gpsheadhttps://github.com/gpshead
pitrouhttps://github.com/pitrou
January 23, 2024 11:12https://github.com/python/cpython/pull/114479#event-11568659610
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
Jan 23, 2024https://github.com/python/cpython/pull/114479#event-11568660332
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Jan 23, 2024 https://github.com/python/cpython/pull/114479#ref-issue-2090629276
TypeError for threading.Lock | None #114315 https://github.com/python/cpython/issues/114315
sobolevnhttps://github.com/sobolevn
January 23, 2024 14:13https://github.com/python/cpython/pull/114479#commits-pushed-427b450
https://github.com/sobolevn
Assert module insteadhttps://github.com/python/cpython/pull/114479/commits/427b450afe384790f83bf667d9b7af3269300bee
427b450https://github.com/python/cpython/pull/114479/commits/427b450afe384790f83bf667d9b7af3269300bee
https://github.com/sobolevn
Do not add to modulehttps://github.com/python/cpython/pull/114479/commits/1a1b4e8638352ebde38b7169fa401f987cf4c5dc
1a1b4e8https://github.com/python/cpython/pull/114479/commits/1a1b4e8638352ebde38b7169fa401f987cf4c5dc
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Jan 23, 2024 https://github.com/python/cpython/pull/114479#pullrequestreview-1838508933
View reviewed changes https://github.com/python/cpython/pull/114479/files/1a1b4e8638352ebde38b7169fa401f987cf4c5dc
Doc/library/threading.rsthttps://github.com/python/cpython/pull/114479/files/1a1b4e8638352ebde38b7169fa401f987cf4c5dc#diff-6a424b7e58eb2394ee0335dd6e08ab8d67e7058852fae0f3aa1b40493fa14a64
Please reload this pagehttps://github.com/python/cpython/pull/114479
sobolevnhttps://github.com/sobolevn
January 23, 2024 14:20https://github.com/python/cpython/pull/114479#commits-pushed-aa896b1
https://github.com/sobolevn
https://github.com/AlexWaygood
Update Doc/library/threading.rsthttps://github.com/python/cpython/pull/114479/commits/aa896b1d24efbc02db2e616c02dcb97faa1c3acc
aa896b1https://github.com/python/cpython/pull/114479/commits/aa896b1d24efbc02db2e616c02dcb97faa1c3acc
https://github.com/sobolevn
Add lock to modulehttps://github.com/python/cpython/pull/114479/commits/9d30863a961b12537ea96ba35194d7b5e5e4de99
9d30863https://github.com/python/cpython/pull/114479/commits/9d30863a961b12537ea96ba35194d7b5e5e4de99
https://github.com/sobolevn
Merge branch 'issue-114315' ofhttps://github.com/python/cpython/pull/114479/commits/ce357a8b42cbc4a5932a708fce90d2bcd326d45c
https://github.com/sobolevn/cpythonhttps://github.com/sobolevn/cpython
in…https://github.com/python/cpython/pull/114479/commits/ce357a8b42cbc4a5932a708fce90d2bcd326d45c
ce357a8https://github.com/python/cpython/pull/114479/commits/ce357a8b42cbc4a5932a708fce90d2bcd326d45c
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
Jan 25, 2024https://github.com/python/cpython/pull/114479#event-11601315113
gpsheadhttps://github.com/gpshead
January 25, 2024 11:09https://github.com/python/cpython/pull/114479#commits-pushed-3311e0a
https://github.com/gpshead
Simplify the versionchanged wording.https://github.com/python/cpython/pull/114479/commits/3311e0abc73b85dc5f1460ef40b13ce3d843ea98
3311e0ahttps://github.com/python/cpython/pull/114479/commits/3311e0abc73b85dc5f1460ef40b13ce3d843ea98
https://github.com/gpshead
Test that threading.Lock cannot be subclassed.https://github.com/python/cpython/pull/114479/commits/b33a71ae609385d5e368ab98088ca2f0e6cf6aa9
b33a71ahttps://github.com/python/cpython/pull/114479/commits/b33a71ae609385d5e368ab98088ca2f0e6cf6aa9
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
Jan 25, 2024 https://github.com/python/cpython/pull/114479#pullrequestreview-1844461459
View reviewed changes https://github.com/python/cpython/pull/114479/files/b33a71ae609385d5e368ab98088ca2f0e6cf6aa9
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
Jan 25, 2024https://github.com/python/cpython/pull/114479#event-11601405029
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
January 25, 2024 19:20https://github.com/python/cpython/pull/114479#event-11601429645
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
d96358fhttps://github.com/python/cpython/commit/d96358ff9de646dbf64dfdfed46d510da7ec4803
Jan 25, 2024https://github.com/python/cpython/pull/114479#event-11601673972
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
Jan 25, 2024https://github.com/python/cpython/pull/114479#event-11601674510
https://github.com/encukou
encukouhttps://github.com/encukou
Jan 30, 2024 https://github.com/python/cpython/pull/114479#ref-issue-2107181267
test_pendingcalls_threaded times out on Windows free-threading builds #114746 https://github.com/python/cpython/issues/114746
aiskhttps://github.com/aisk
Feb 11, 2024 https://github.com/python/cpython/pull/114479#ref-commit-73115a7
https://github.com/sobolevn
https://github.com/AlexWaygood
https://github.com/gpshead
https://github.com/aisk
pythongh-114315https://github.com/python/cpython/issues/114315
: Makehttps://github.com/aisk/cpython/commit/73115a77771520278af97baf14ab404250841ad1
threading.Lockhttps://github.com/aisk/cpython/commit/73115a77771520278af97baf14ab404250841ad1
a real class, not a factory fu…https://github.com/aisk/cpython/commit/73115a77771520278af97baf14ab404250841ad1
73115a7https://github.com/aisk/cpython/commit/73115a77771520278af97baf14ab404250841ad1
python#114479https://github.com/python/cpython/pull/114479
Glyphackhttps://github.com/Glyphack
Sep 2, 2024 https://github.com/python/cpython/pull/114479#ref-commit-6a8a1df
https://github.com/sobolevn
https://github.com/AlexWaygood
https://github.com/gpshead
https://github.com/Glyphack
pythongh-114315https://github.com/python/cpython/issues/114315
: Makehttps://github.com/Glyphack/cpython/commit/6a8a1df5e9d450940af3a9b995a51df970840a21
threading.Lockhttps://github.com/Glyphack/cpython/commit/6a8a1df5e9d450940af3a9b995a51df970840a21
a real class, not a factory fu…https://github.com/Glyphack/cpython/commit/6a8a1df5e9d450940af3a9b995a51df970840a21
6a8a1dfhttps://github.com/Glyphack/cpython/commit/6a8a1df5e9d450940af3a9b995a51df970840a21
python#114479https://github.com/python/cpython/pull/114479
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%2F114479
https://github.com/AlexWaygood
AlexWaygood https://github.com/AlexWaygood
https://github.com/python/cpython/pull/114479/files/1a1b4e8638352ebde38b7169fa401f987cf4c5dc
https://github.com/gpshead
gpshead https://github.com/gpshead
https://github.com/python/cpython/pull/114479/files/b33a71ae609385d5e368ab98088ca2f0e6cf6aa9
https://github.com/pitrou
pitrou https://github.com/pitrou
https://github.com/gpshead
gpshead https://github.com/gpshead
Please reload this pagehttps://github.com/python/cpython/pull/114479
https://github.com/sobolevn
https://github.com/gpshead
https://github.com/AlexWaygood
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.