René's URL Explorer Experiment


Title: fix: linking error building `_testcapi` in Python 3.12 #434 by Andrej730 · Pull Request #435 · python-cmake-buildsystem/python-cmake-buildsystem · GitHub

Open Graph Title: fix: linking error building `_testcapi` in Python 3.12 #434 by Andrej730 · Pull Request #435 · python-cmake-buildsystem/python-cmake-buildsystem

X Title: fix: linking error building `_testcapi` in Python 3.12 #434 by Andrej730 · Pull Request #435 · python-cmake-buildsystem/python-cmake-buildsystem

Description: Resolves #434. In 3.12 _testcapi now had a file with Py_LIMITED_API so it was requiring python3.lib to link. https://github.com/python/cpython/blob/3.12/Modules/_testcapi/heaptype_relative.c Though...

Open Graph Description: Resolves #434. In 3.12 _testcapi now had a file with Py_LIMITED_API so it was requiring python3.lib to link. https://github.com/python/cpython/blob/3.12/Modules/_testcapi/heaptype_relative.c Though...

X Description: Resolves #434. In 3.12 _testcapi now had a file with Py_LIMITED_API so it was requiring python3.lib to link. https://github.com/python/cpython/blob/3.12/Modules/_testcapi/heaptype_relative.c Though...

Opengraph URL: https://github.com/python-cmake-buildsystem/python-cmake-buildsystem/pull/435

X: @github

direct link

Domain: patch-diff.githubusercontent.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:f25e98c9-cf14-c3a8-d320-be2305498e83
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD4A0:1BE7AD:1BD8CB:24063A:69714D45
html-safe-nonce145f140bd29a9430300e19468989f17d8852a4c0e3dc1a84b4b51b5a1af20a91
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENEEwOjFCRTdBRDoxQkQ4Q0I6MjQwNjNBOjY5NzE0RDQ1IiwidmlzaXRvcl9pZCI6Ijg1Mjc0NDU0MzUyNDczMTYyOTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac63f09e398609f67f8450e6453684adc6b63f474d62e106dd9b68838140af9891
hovercard-subject-tagpull_request:3077641480
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-cmake-buildsystem/python-cmake-buildsystem/435/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/130e6e2ad2dbed62210de4d7b8691ebca190c97ffbe685bd2911ac7f30f1085a/python-cmake-buildsystem/python-cmake-buildsystem/pull/435
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/130e6e2ad2dbed62210de4d7b8691ebca190c97ffbe685bd2911ac7f30f1085a/python-cmake-buildsystem/python-cmake-buildsystem/pull/435
og:image:altResolves #434. In 3.12 _testcapi now had a file with Py_LIMITED_API so it was requiring python3.lib to link. https://github.com/python/cpython/blob/3.12/Modules/_testcapi/heaptype_relative.c Though...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameAndrej730
hostnamegithub.com
expected-hostnamegithub.com
Noneda7cbccf7f40bcd9540003423d9bef63b2fe7bb0b73fc59d91b5ae5b46000c90
turbo-cache-controlno-preview
go-importgithub.com/python-cmake-buildsystem/python-cmake-buildsystem git https://github.com/python-cmake-buildsystem/python-cmake-buildsystem.git
octolytics-dimension-user_id13651879
octolytics-dimension-user_loginpython-cmake-buildsystem
octolytics-dimension-repository_id1304677
octolytics-dimension-repository_nwopython-cmake-buildsystem/python-cmake-buildsystem
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1304677
octolytics-dimension-repository_network_root_nwopython-cmake-buildsystem/python-cmake-buildsystem
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
releasec9e6c71b091ca750658a3b2e3c82b0b85555f788
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/python-cmake-buildsystem/python-cmake-buildsystem/pull/435#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-cmake-buildsystem%2Fpython-cmake-buildsystem%2Fpull%2F435
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://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-cmake-buildsystem%2Fpython-cmake-buildsystem%2Fpull%2F435
Sign up https://patch-diff.githubusercontent.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-cmake-buildsystem%2Fpython-cmake-buildsystem
Reloadhttps://patch-diff.githubusercontent.com/python-cmake-buildsystem/python-cmake-buildsystem/pull/435
Reloadhttps://patch-diff.githubusercontent.com/python-cmake-buildsystem/python-cmake-buildsystem/pull/435
Reloadhttps://patch-diff.githubusercontent.com/python-cmake-buildsystem/python-cmake-buildsystem/pull/435
python-cmake-buildsystem https://patch-diff.githubusercontent.com/python-cmake-buildsystem
python-cmake-buildsystemhttps://patch-diff.githubusercontent.com/python-cmake-buildsystem/python-cmake-buildsystem
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fpython-cmake-buildsystem%2Fpython-cmake-buildsystem
Fork 156 https://patch-diff.githubusercontent.com/login?return_to=%2Fpython-cmake-buildsystem%2Fpython-cmake-buildsystem
Star 465 https://patch-diff.githubusercontent.com/login?return_to=%2Fpython-cmake-buildsystem%2Fpython-cmake-buildsystem
Code https://patch-diff.githubusercontent.com/python-cmake-buildsystem/python-cmake-buildsystem
Issues 49 https://patch-diff.githubusercontent.com/python-cmake-buildsystem/python-cmake-buildsystem/issues
Pull requests 21 https://patch-diff.githubusercontent.com/python-cmake-buildsystem/python-cmake-buildsystem/pulls
Actions https://patch-diff.githubusercontent.com/python-cmake-buildsystem/python-cmake-buildsystem/actions
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/python-cmake-buildsystem/python-cmake-buildsystem/security
Please reload this pagehttps://patch-diff.githubusercontent.com/python-cmake-buildsystem/python-cmake-buildsystem/pull/435
Insights https://patch-diff.githubusercontent.com/python-cmake-buildsystem/python-cmake-buildsystem/pulse
Code https://patch-diff.githubusercontent.com/python-cmake-buildsystem/python-cmake-buildsystem
Issues https://patch-diff.githubusercontent.com/python-cmake-buildsystem/python-cmake-buildsystem/issues
Pull requests https://patch-diff.githubusercontent.com/python-cmake-buildsystem/python-cmake-buildsystem/pulls
Actions https://patch-diff.githubusercontent.com/python-cmake-buildsystem/python-cmake-buildsystem/actions
Security https://patch-diff.githubusercontent.com/python-cmake-buildsystem/python-cmake-buildsystem/security
Insights https://patch-diff.githubusercontent.com/python-cmake-buildsystem/python-cmake-buildsystem/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2Fpython-cmake-buildsystem%2Fpython-cmake-buildsystem%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://patch-diff.githubusercontent.com/login?return_to=%2Fpython-cmake-buildsystem%2Fpython-cmake-buildsystem%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://patch-diff.githubusercontent.com/python-cmake-buildsystem/python-cmake-buildsystem/pull/435#issue-comment-box
Andrej730https://patch-diff.githubusercontent.com/Andrej730
python-cmake-buildsystem:masterhttps://patch-diff.githubusercontent.com/python-cmake-buildsystem/python-cmake-buildsystem/tree/master
Andrej730:fix-linking-_testcapihttps://patch-diff.githubusercontent.com/Andrej730/python-cmake-buildsystem/tree/fix-linking-_testcapi
fix: linking error building _testcapi in Python 3.12 #434 https://patch-diff.githubusercontent.com/python-cmake-buildsystem/python-cmake-buildsystem/pull/435#top
Andrej730https://patch-diff.githubusercontent.com/Andrej730
python-cmake-buildsystem:masterhttps://patch-diff.githubusercontent.com/python-cmake-buildsystem/python-cmake-buildsystem/tree/master
Andrej730:fix-linking-_testcapihttps://patch-diff.githubusercontent.com/Andrej730/python-cmake-buildsystem/tree/fix-linking-_testcapi
Conversation 1 https://patch-diff.githubusercontent.com/python-cmake-buildsystem/python-cmake-buildsystem/pull/435
Commits 3 https://patch-diff.githubusercontent.com/python-cmake-buildsystem/python-cmake-buildsystem/pull/435/commits
Checks 0 https://patch-diff.githubusercontent.com/python-cmake-buildsystem/python-cmake-buildsystem/pull/435/checks
Files changed https://patch-diff.githubusercontent.com/python-cmake-buildsystem/python-cmake-buildsystem/pull/435/files
Please reload this pagehttps://patch-diff.githubusercontent.com/python-cmake-buildsystem/python-cmake-buildsystem/pull/435
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/python-cmake-buildsystem/python-cmake-buildsystem/pull/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/Andrej730
Andrej730https://patch-diff.githubusercontent.com/Andrej730
Dec 6, 2025https://patch-diff.githubusercontent.com/python-cmake-buildsystem/python-cmake-buildsystem/pull/435#issue-3701782190
Please reload this pagehttps://patch-diff.githubusercontent.com/python-cmake-buildsystem/python-cmake-buildsystem/pull/435
#434https://github.com/python-cmake-buildsystem/python-cmake-buildsystem/issues/434
https://github.com/python/cpython/blob/3.12/Modules/_testcapi/heaptype_relative.chttps://github.com/python/cpython/blob/3.12/Modules/_testcapi/heaptype_relative.c
@jcfrhttps://github.com/jcfr
Please reload this pagehttps://patch-diff.githubusercontent.com/python-cmake-buildsystem/python-cmake-buildsystem/pull/435
Andrej730https://patch-diff.githubusercontent.com/Andrej730
December 6, 2025 19:09https://patch-diff.githubusercontent.com/python-cmake-buildsystem/python-cmake-buildsystem/pull/435#commits-pushed-092a2af
https://patch-diff.githubusercontent.com/Andrej730
fix: linking error building _testcapi in Python 3.12https://patch-diff.githubusercontent.com/python-cmake-buildsystem/python-cmake-buildsystem/pull/435/commits/092a2afbfa98fc22c3550c3fc981500eeac59d39
092a2afhttps://patch-diff.githubusercontent.com/python-cmake-buildsystem/python-cmake-buildsystem/pull/435/commits/092a2afbfa98fc22c3550c3fc981500eeac59d39
https://patch-diff.githubusercontent.com/Andrej730
Define Py_LIMITED_API only for 3.12https://patch-diff.githubusercontent.com/python-cmake-buildsystem/python-cmake-buildsystem/pull/435/commits/c92f2fcb90fcfd26576edd74f351df6483613bb5
c92f2fchttps://patch-diff.githubusercontent.com/python-cmake-buildsystem/python-cmake-buildsystem/pull/435/commits/c92f2fcb90fcfd26576edd74f351df6483613bb5
https://patch-diff.githubusercontent.com/Andrej730
Remove TODO in the notehttps://patch-diff.githubusercontent.com/python-cmake-buildsystem/python-cmake-buildsystem/pull/435/commits/31e8fa11ba960fa4f89100931cf17d56cefa240b
31e8fa1https://patch-diff.githubusercontent.com/python-cmake-buildsystem/python-cmake-buildsystem/pull/435/commits/31e8fa11ba960fa4f89100931cf17d56cefa240b
https://patch-diff.githubusercontent.com/Andrej730
Andrej730https://patch-diff.githubusercontent.com/Andrej730
force-pushedhttps://patch-diff.githubusercontent.com/python-cmake-buildsystem/python-cmake-buildsystem/compare/777576c49d77a7bcfc368f5b869e2fbabacaccfe..31e8fa11ba960fa4f89100931cf17d56cefa240b
777576chttps://patch-diff.githubusercontent.com/python-cmake-buildsystem/python-cmake-buildsystem/commit/777576c49d77a7bcfc368f5b869e2fbabacaccfe
31e8fa1https://patch-diff.githubusercontent.com/python-cmake-buildsystem/python-cmake-buildsystem/commit/31e8fa11ba960fa4f89100931cf17d56cefa240b
Compare https://patch-diff.githubusercontent.com/python-cmake-buildsystem/python-cmake-buildsystem/compare/777576c49d77a7bcfc368f5b869e2fbabacaccfe..31e8fa11ba960fa4f89100931cf17d56cefa240b
December 6, 2025 16:47https://patch-diff.githubusercontent.com/python-cmake-buildsystem/python-cmake-buildsystem/pull/435#event-21402371421
https://patch-diff.githubusercontent.com/Andrej730
Andrej730https://patch-diff.githubusercontent.com/Andrej730
Dec 6, 2025https://patch-diff.githubusercontent.com/python-cmake-buildsystem/python-cmake-buildsystem/pull/435#issuecomment-3620709063
https://private-user-images.githubusercontent.com/9417531/523327124-69713b87-19bf-4d47-91de-860c2db6e33f.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NjkwMzMzMzAsIm5iZiI6MTc2OTAzMzAzMCwicGF0aCI6Ii85NDE3NTMxLzUyMzMyNzEyNC02OTcxM2I4Ny0xOWJmLTRkNDctOTFkZS04NjBjMmRiNmUzM2YucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MDEyMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjAxMjFUMjIwMzUwWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YmIzNzRkOGRkODUxNmM4NWQyOWJlOTQ2NDZiYjY1ZDMyZTgxNTFkNDEyNGE0YWQxMzVlNWQwODcyOTM2MThkMCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.LliBf2WrAdVC1DMhoCdOAcRO6ZkKD46I_aKgayU7xkI
Please reload this pagehttps://patch-diff.githubusercontent.com/python-cmake-buildsystem/python-cmake-buildsystem/pull/435
Sign up for freehttps://patch-diff.githubusercontent.com/join?source=comment-repo
Sign in to commenthttps://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-cmake-buildsystem%2Fpython-cmake-buildsystem%2Fpull%2F435
Linking error building with BUILD_LIBPYTHON_SHARED=ON - cannot open file 'python3.lib' https://github.com/python-cmake-buildsystem/python-cmake-buildsystem/issues/434
Please reload this pagehttps://patch-diff.githubusercontent.com/python-cmake-buildsystem/python-cmake-buildsystem/pull/435
https://patch-diff.githubusercontent.com/Andrej730
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.