René's URL Explorer Experiment


Title: gh-111495: Add tests for PyTuple C API by skirpichev · Pull Request #118757 · python/cpython · GitHub

Open Graph Title: gh-111495: Add tests for PyTuple C API by skirpichev · Pull Request #118757 · python/cpython

X Title: gh-111495: Add tests for PyTuple C API by skirpichev · Pull Request #118757 · python/cpython

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

Open Graph Description: Issue: Add more C API tests #111495

X Description: Issue: Add more C API tests #111495

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:0729e487-d978-232f-b7b2-e5f9550116b5
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD008:27157C:FEC693:1538F89:696993D2
html-safe-nonce175f0a51fa704ad586223625c99703a56a560cd72f75421e6148a995ce6f020e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMDA4OjI3MTU3QzpGRUM2OTM6MTUzOEY4OTo2OTY5OTNEMiIsInZpc2l0b3JfaWQiOiIzMDgxNjMyNDg2ODIzNDAwNDAyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacb42cbb3f881738e5932ee3beae8140d149903fb15ecfe4834e5057a3246e237f
hovercard-subject-tagpull_request:1859839542
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/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/118757/commits
twitter:imagehttps://opengraph.githubassets.com/7e748cf89730a8c39c07ba64a40db9a7980fcc7787fcece8d338913d8090b3e3/python/cpython/pull/118757
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7e748cf89730a8c39c07ba64a40db9a7980fcc7787fcece8d338913d8090b3e3/python/cpython/pull/118757
og:image:altIssue: Add more C API tests #111495
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameskirpichev
hostnamegithub.com
expected-hostnamegithub.com
None3542e147982176a7ebaa23dfb559c8af16f721c03ec560c68c56b64a0f35e751
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
releaseaf80af7cc9e3de9c336f18b208a600950a3c187c
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/118757/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F118757%2Fcommits
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%2F118757%2Fcommits
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%2Fcommits&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/118757/commits
Reloadhttps://github.com/python/cpython/pull/118757/commits
Reloadhttps://github.com/python/cpython/pull/118757/commits
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/118757/commits
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/118757/commits
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
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
skirpichev:capi-tuple-testshttps://github.com/skirpichev/cpython/tree/capi-tuple-tests
Conversationhttps://github.com/python/cpython/pull/118757
Commits24 (24)https://github.com/python/cpython/pull/118757/commits
Checkshttps://github.com/python/cpython/pull/118757/checks
Files changedhttps://github.com/python/cpython/pull/118757/files
gh-111495: Add tests for PyTuple C APIhttps://github.com/python/cpython/pull/118757/commits#top
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
skirpichev:capi-tuple-testshttps://github.com/skirpichev/cpython/tree/capi-tuple-tests
gh-111495: Add tests for PyTuple C APIhttps://github.com/python/cpython/pull/118757/commits/0e590c415fa81aa77a901365586997679038fc4e
rawwarhttps://github.com/python/cpython/commits?author=rawwar
skirpichevhttps://github.com/python/cpython/commits?author=skirpichev
0e590c4https://github.com/python/cpython/pull/118757/commits/0e590c415fa81aa77a901365586997679038fc4e
https://github.com/python/cpython/tree/0e590c415fa81aa77a901365586997679038fc4e
+1https://github.com/python/cpython/pull/118757/commits/ddf0af7dc51c7e540409d5a9f6636544d5cd64db
https://github.com/skirpichev
skirpichevhttps://github.com/python/cpython/commits?author=skirpichev
ddf0af7https://github.com/python/cpython/pull/118757/commits/ddf0af7dc51c7e540409d5a9f6636544d5cd64db
https://github.com/python/cpython/tree/ddf0af7dc51c7e540409d5a9f6636544d5cd64db
Update Lib/test/test_capi/test_tuple.pyhttps://github.com/python/cpython/pull/118757/commits/571da31cf1c10b896930adceb3cbdca95b5dfd11
skirpichevhttps://github.com/python/cpython/commits?author=skirpichev
serhiy-storchakahttps://github.com/python/cpython/commits?author=serhiy-storchaka
571da31https://github.com/python/cpython/pull/118757/commits/571da31cf1c10b896930adceb3cbdca95b5dfd11
https://github.com/python/cpython/tree/571da31cf1c10b896930adceb3cbdca95b5dfd11
address review: more testshttps://github.com/python/cpython/pull/118757/commits/69d9ead3634c95ca63af8b0acb3e27a91161376b
https://github.com/skirpichev
skirpichevhttps://github.com/python/cpython/commits?author=skirpichev
69d9eadhttps://github.com/python/cpython/pull/118757/commits/69d9ead3634c95ca63af8b0acb3e27a91161376b
https://github.com/python/cpython/tree/69d9ead3634c95ca63af8b0acb3e27a91161376b
address review: simplify tuple_pack()https://github.com/python/cpython/pull/118757/commits/3260ef4eae47c818990fa28f82fcd638915bbb37
https://github.com/skirpichev
skirpichevhttps://github.com/python/cpython/commits?author=skirpichev
3260ef4https://github.com/python/cpython/pull/118757/commits/3260ef4eae47c818990fa28f82fcd638915bbb37
https://github.com/python/cpython/tree/3260ef4eae47c818990fa28f82fcd638915bbb37
address review: strict checks in tuple_set_item/setitemhttps://github.com/python/cpython/pull/118757/commits/b5b4664e982c607d9ab12a5976f228b334c08d69
https://github.com/skirpichev
skirpichevhttps://github.com/python/cpython/commits?author=skirpichev
b5b4664https://github.com/python/cpython/pull/118757/commits/b5b4664e982c607d9ab12a5976f228b334c08d69
https://github.com/python/cpython/tree/b5b4664e982c607d9ab12a5976f228b334c08d69
address review: redo resize() testshttps://github.com/python/cpython/pull/118757/commits/1d53b0f7375060d80a578df7ae65493499526d23
https://github.com/skirpichev
skirpichevhttps://github.com/python/cpython/commits?author=skirpichev
1d53b0fhttps://github.com/python/cpython/pull/118757/commits/1d53b0f7375060d80a578df7ae65493499526d23
https://github.com/python/cpython/tree/1d53b0f7375060d80a578df7ae65493499526d23
Merge branch 'master' into capi-tuple-testshttps://github.com/python/cpython/pull/118757/commits/32481449d1b3b6a2e7df02547aad7d3608071876
https://github.com/skirpichev
skirpichevhttps://github.com/python/cpython/commits?author=skirpichev
3248144https://github.com/python/cpython/pull/118757/commits/32481449d1b3b6a2e7df02547aad7d3608071876
https://github.com/python/cpython/tree/32481449d1b3b6a2e7df02547aad7d3608071876
address review:https://github.com/python/cpython/pull/118757/commits/8451a4dc1f65c69ce72575c2408fa7f777ed81ea
https://github.com/skirpichev
skirpichevhttps://github.com/python/cpython/commits?author=skirpichev
8451a4dhttps://github.com/python/cpython/pull/118757/commits/8451a4dc1f65c69ce72575c2408fa7f777ed81ea
https://github.com/python/cpython/tree/8451a4dc1f65c69ce72575c2408fa7f777ed81ea
address review: check error for PyTuple_SetItem()https://github.com/python/cpython/pull/118757/commits/b2d0eaca90d87560c51cf244e63f2e7e54e82581
https://github.com/skirpichev
skirpichevhttps://github.com/python/cpython/commits?author=skirpichev
b2d0eachttps://github.com/python/cpython/pull/118757/commits/b2d0eaca90d87560c51cf244e63f2e7e54e82581
https://github.com/python/cpython/tree/b2d0eaca90d87560c51cf244e63f2e7e54e82581
address review: fix reference leak and add tests for non-immortal objectshttps://github.com/python/cpython/pull/118757/commits/a977efa0e674fbfc26c38777fc7b12f4500ae407
https://github.com/skirpichev
skirpichevhttps://github.com/python/cpython/commits?author=skirpichev
a977efahttps://github.com/python/cpython/pull/118757/commits/a977efa0e674fbfc26c38777fc7b12f4500ae407
https://github.com/python/cpython/tree/a977efa0e674fbfc26c38777fc7b12f4500ae407
Add missing unittest.main() callshttps://github.com/python/cpython/pull/118757/commits/95d1544f8a5838a3489de4e8c1b1451c9dce9c7b
https://github.com/skirpichev
skirpichevhttps://github.com/python/cpython/commits?author=skirpichev
95d1544https://github.com/python/cpython/pull/118757/commits/95d1544f8a5838a3489de4e8c1b1451c9dce9c7b
https://github.com/python/cpython/tree/95d1544f8a5838a3489de4e8c1b1451c9dce9c7b
address review: add tests with NULL for setitem/set_itemhttps://github.com/python/cpython/pull/118757/commits/14b3594c6679e79ef31faeb58e6f4deaf2a9d5c2
https://github.com/skirpichev
skirpichevhttps://github.com/python/cpython/commits?author=skirpichev
14b3594https://github.com/python/cpython/pull/118757/commits/14b3594c6679e79ef31faeb58e6f4deaf2a9d5c2
https://github.com/python/cpython/tree/14b3594c6679e79ef31faeb58e6f4deaf2a9d5c2
address review: fix refleakhttps://github.com/python/cpython/pull/118757/commits/f9554bc8d9807eaa3abdc47c4561bb0de79e13e4
https://github.com/skirpichev
skirpichevhttps://github.com/python/cpython/commits?author=skirpichev
f9554bchttps://github.com/python/cpython/pull/118757/commits/f9554bc8d9807eaa3abdc47c4561bb0de79e13e4
https://github.com/python/cpython/tree/f9554bc8d9807eaa3abdc47c4561bb0de79e13e4
address review: rename tuple_resizehttps://github.com/python/cpython/pull/118757/commits/e79616fc2c628c6182d326e1556075877f4c0e20
https://github.com/skirpichev
skirpichevhttps://github.com/python/cpython/commits?author=skirpichev
e79616fhttps://github.com/python/cpython/pull/118757/commits/e79616fc2c628c6182d326e1556075877f4c0e20
https://github.com/python/cpython/tree/e79616fc2c628c6182d326e1556075877f4c0e20
address review: a helper to test if item is NULLhttps://github.com/python/cpython/pull/118757/commits/26fc5a2a568932efdd3cd694bf490482f8c52662
https://github.com/skirpichev
skirpichevhttps://github.com/python/cpython/commits?author=skirpichev
26fc5a2https://github.com/python/cpython/pull/118757/commits/26fc5a2a568932efdd3cd694bf490482f8c52662
https://github.com/python/cpython/tree/26fc5a2a568932efdd3cd694bf490482f8c52662
address review: check no refleaks if tuple shrinkshttps://github.com/python/cpython/pull/118757/commits/5047d6d2e438c39e3406ccf536607b0509e37905
https://github.com/skirpichev
skirpichevhttps://github.com/python/cpython/commits?author=skirpichev
5047d6dhttps://github.com/python/cpython/pull/118757/commits/5047d6d2e438c39e3406ccf536607b0509e37905
https://github.com/python/cpython/tree/5047d6d2e438c39e3406ccf536607b0509e37905
address review: test added elements on resizehttps://github.com/python/cpython/pull/118757/commits/a2ea4c42f4ebf2e4ba293193de5b237c642ebdc2
https://github.com/skirpichev
skirpichevhttps://github.com/python/cpython/commits?author=skirpichev
a2ea4c4https://github.com/python/cpython/pull/118757/commits/a2ea4c42f4ebf2e4ba293193de5b237c642ebdc2
https://github.com/python/cpython/tree/a2ea4c42f4ebf2e4ba293193de5b237c642ebdc2
address review: test new elementshttps://github.com/python/cpython/pull/118757/commits/72aa1ed9590e4541b491c5ac385daf3ce1b2f323
https://github.com/skirpichev
skirpichevhttps://github.com/python/cpython/commits?author=skirpichev
72aa1edhttps://github.com/python/cpython/pull/118757/commits/72aa1ed9590e4541b491c5ac385daf3ce1b2f323
https://github.com/python/cpython/tree/72aa1ed9590e4541b491c5ac385daf3ce1b2f323
Merge branch 'main' into capi-tuple-testshttps://github.com/python/cpython/pull/118757/commits/f10160c685363f5c6ea2b85af1a909148676bc94
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/python/cpython/commits?author=serhiy-storchaka
f10160chttps://github.com/python/cpython/pull/118757/commits/f10160c685363f5c6ea2b85af1a909148676bc94
https://github.com/python/cpython/tree/f10160c685363f5c6ea2b85af1a909148676bc94
Merge branch 'main' into capi-tuple-testshttps://github.com/python/cpython/pull/118757/commits/8a6d636ff196b815e44255131bda3d48ceb99d65
https://github.com/skirpichev
skirpichevhttps://github.com/python/cpython/commits?author=skirpichev
8a6d636https://github.com/python/cpython/pull/118757/commits/8a6d636ff196b815e44255131bda3d48ceb99d65
https://github.com/python/cpython/tree/8a6d636ff196b815e44255131bda3d48ceb99d65
Polish and fix some errors.https://github.com/python/cpython/pull/118757/commits/266de84b02d39fe60b3c64c635eaba596215e1b2
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/python/cpython/commits?author=serhiy-storchaka
266de84https://github.com/python/cpython/pull/118757/commits/266de84b02d39fe60b3c64c635eaba596215e1b2
https://github.com/python/cpython/tree/266de84b02d39fe60b3c64c635eaba596215e1b2
Update Modules/_testcapi/tuple.chttps://github.com/python/cpython/pull/118757/commits/190e88a2fa3e114c734b203e4cad822b726d1085
serhiy-storchakahttps://github.com/python/cpython/commits?author=serhiy-storchaka
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
190e88ahttps://github.com/python/cpython/pull/118757/commits/190e88a2fa3e114c734b203e4cad822b726d1085
https://github.com/python/cpython/tree/190e88a2fa3e114c734b203e4cad822b726d1085
Address Victor's comments.https://github.com/python/cpython/pull/118757/commits/d25eae8509c0dcf83ee8710653fc45c0a142be28
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/python/cpython/commits?author=serhiy-storchaka
d25eae8https://github.com/python/cpython/pull/118757/commits/d25eae8509c0dcf83ee8710653fc45c0a142be28
https://github.com/python/cpython/tree/d25eae8509c0dcf83ee8710653fc45c0a142be28
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.