René's URL Explorer Experiment


Title: Add PyUnstable_TryIncref and PyUnstable_EnableTryIncRef. by colesbury · Pull Request #159 · python/pythoncapi-compat · GitHub

Open Graph Title: Add PyUnstable_TryIncref and PyUnstable_EnableTryIncRef. by colesbury · Pull Request #159 · python/pythoncapi-compat

X Title: Add PyUnstable_TryIncref and PyUnstable_EnableTryIncRef. by colesbury · Pull Request #159 · python/pythoncapi-compat

Description: These would be useful in PyTorch, which uses pythoncapi-compat.h. They are also already used in pybind11, which doesn't use pythoncapi-compat.h.

Open Graph Description: These would be useful in PyTorch, which uses pythoncapi-compat.h. They are also already used in pybind11, which doesn't use pythoncapi-compat.h.

X Description: These would be useful in PyTorch, which uses pythoncapi-compat.h. They are also already used in pybind11, which doesn't use pythoncapi-compat.h.

Opengraph URL: https://github.com/python/pythoncapi-compat/pull/159

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:e0caac5d-27c5-5380-7b0e-487c82a38bb0
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA0CA:36DBB6:F55EA2:158A298:696A3F03
html-safe-noncedc78394fce0630ecaf64f890fcc8203fa9a9e8fff8e9ef3d7ab9a99344d69db7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMENBOjM2REJCNjpGNTVFQTI6MTU4QTI5ODo2OTZBM0YwMyIsInZpc2l0b3JfaWQiOiI2NTY3NTE3NzI2MjUzMzk5ODExIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacf7ea5df5c23f1978a09b42c55d57daf654745903ce7c947e55b87e784086b976
hovercard-subject-tagpull_request:2977558809
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/pythoncapi-compat/159/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/65259236437aa48e47d756166065258608f8899e512534d8390888278852bcf3/python/pythoncapi-compat/pull/159
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/65259236437aa48e47d756166065258608f8899e512534d8390888278852bcf3/python/pythoncapi-compat/pull/159
og:image:altThese would be useful in PyTorch, which uses pythoncapi-compat.h. They are also already used in pybind11, which doesn't use pythoncapi-compat.h.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamecolesbury
hostnamegithub.com
expected-hostnamegithub.com
None321736bfdb3f591415ae895a0459bec204b26a76caf47ba5c980634cfacc4538
turbo-cache-controlno-preview
go-importgithub.com/python/pythoncapi-compat git https://github.com/python/pythoncapi-compat.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id269418584
octolytics-dimension-repository_nwopython/pythoncapi-compat
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id269418584
octolytics-dimension-repository_network_root_nwopython/pythoncapi-compat
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
release13581a31d51edf4a3aca179e10890a4d4f9b6d76
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/pythoncapi-compat/pull/159#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fpythoncapi-compat%2Fpull%2F159
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%2Fpythoncapi-compat%2Fpull%2F159
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%2Fpythoncapi-compat
Reloadhttps://github.com/python/pythoncapi-compat/pull/159
Reloadhttps://github.com/python/pythoncapi-compat/pull/159
Reloadhttps://github.com/python/pythoncapi-compat/pull/159
python https://github.com/python
pythoncapi-compathttps://github.com/python/pythoncapi-compat
Please reload this pagehttps://github.com/python/pythoncapi-compat/pull/159
Notifications https://github.com/login?return_to=%2Fpython%2Fpythoncapi-compat
Fork 38 https://github.com/login?return_to=%2Fpython%2Fpythoncapi-compat
Star 99 https://github.com/login?return_to=%2Fpython%2Fpythoncapi-compat
Code https://github.com/python/pythoncapi-compat
Issues 1 https://github.com/python/pythoncapi-compat/issues
Pull requests 0 https://github.com/python/pythoncapi-compat/pulls
Actions https://github.com/python/pythoncapi-compat/actions
Projects 0 https://github.com/python/pythoncapi-compat/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/pythoncapi-compat/security
Please reload this pagehttps://github.com/python/pythoncapi-compat/pull/159
Insights https://github.com/python/pythoncapi-compat/pulse
Code https://github.com/python/pythoncapi-compat
Issues https://github.com/python/pythoncapi-compat/issues
Pull requests https://github.com/python/pythoncapi-compat/pulls
Actions https://github.com/python/pythoncapi-compat/actions
Projects https://github.com/python/pythoncapi-compat/projects
Security https://github.com/python/pythoncapi-compat/security
Insights https://github.com/python/pythoncapi-compat/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fpythoncapi-compat%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fpythoncapi-compat%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/python/pythoncapi-compat/pull/159#issue-comment-box
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/pythoncapi-compat/tree/main
colesbury:try_increfhttps://github.com/colesbury/pythoncapi-compat/tree/try_incref
Add PyUnstable_TryIncref and PyUnstable_EnableTryIncRef. https://github.com/python/pythoncapi-compat/pull/159#top
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/pythoncapi-compat/tree/main
colesbury:try_increfhttps://github.com/colesbury/pythoncapi-compat/tree/try_incref
Conversation 9 https://github.com/python/pythoncapi-compat/pull/159
Commits 4 https://github.com/python/pythoncapi-compat/pull/159/commits
Checks 36 https://github.com/python/pythoncapi-compat/pull/159/checks
Files changed https://github.com/python/pythoncapi-compat/pull/159/files
Please reload this pagehttps://github.com/python/pythoncapi-compat/pull/159
https://github.co/hiddenchars
https://github.com/python/pythoncapi-compat/pull/{{ revealButtonHref }}
https://github.com/colesbury
colesburyhttps://github.com/colesbury
Nov 4, 2025https://github.com/python/pythoncapi-compat/pull/159#issue-3587639445
pybind11https://github.com/pybind/pybind11/blob/e6984c805ec09c0e5f826e3081a32f322a6bfe63/include/pybind11/detail/type_caster_base.h#L292-L333
Please reload this pagehttps://github.com/python/pythoncapi-compat/pull/159
https://github.com/colesbury
Add PyUnstable_TryIncref and PyUnstable_EnableTryIncRef.https://github.com/python/pythoncapi-compat/pull/159/commits/b09013757e71295ffeed5250e4607b2c1056c38a
b090137https://github.com/python/pythoncapi-compat/pull/159/commits/b09013757e71295ffeed5250e4607b2c1056c38a
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Nov 5, 2025 https://github.com/python/pythoncapi-compat/pull/159#pullrequestreview-3423804104
View reviewed changes https://github.com/python/pythoncapi-compat/pull/159/files/b09013757e71295ffeed5250e4607b2c1056c38a
pythoncapi_compat.hhttps://github.com/python/pythoncapi-compat/pull/159/files/b09013757e71295ffeed5250e4607b2c1056c38a#diff-0ed658094dc1d83cf8c55d47ab108bf09c64dc07071bd1ca27eba1db7ccf468c
Please reload this pagehttps://github.com/python/pythoncapi-compat/pull/159
tests/test_pythoncapi_compat_cext.chttps://github.com/python/pythoncapi-compat/pull/159/files/b09013757e71295ffeed5250e4607b2c1056c38a#diff-35d7a40ba0c92dfc39d93e0f7a7ed4b404e9ab7ac23f06d4725af8741b7c6d12
vstinnerhttps://github.com/vstinner
Nov 5, 2025https://github.com/python/pythoncapi-compat/pull/159#discussion_r2495736594
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/pythoncapi-compat/pull/159
pythoncapi_compat.hhttps://github.com/python/pythoncapi-compat/pull/159/files/b09013757e71295ffeed5250e4607b2c1056c38a#diff-0ed658094dc1d83cf8c55d47ab108bf09c64dc07071bd1ca27eba1db7ccf468c
Please reload this pagehttps://github.com/python/pythoncapi-compat/pull/159
pythoncapi_compat.hhttps://github.com/python/pythoncapi-compat/pull/159/files/b09013757e71295ffeed5250e4607b2c1056c38a#diff-0ed658094dc1d83cf8c55d47ab108bf09c64dc07071bd1ca27eba1db7ccf468c
Please reload this pagehttps://github.com/python/pythoncapi-compat/pull/159
pythoncapi_compat.hhttps://github.com/python/pythoncapi-compat/pull/159/files/b09013757e71295ffeed5250e4607b2c1056c38a#diff-0ed658094dc1d83cf8c55d47ab108bf09c64dc07071bd1ca27eba1db7ccf468c
Please reload this pagehttps://github.com/python/pythoncapi-compat/pull/159
pythoncapi_compat.hhttps://github.com/python/pythoncapi-compat/pull/159/files/b09013757e71295ffeed5250e4607b2c1056c38a#diff-0ed658094dc1d83cf8c55d47ab108bf09c64dc07071bd1ca27eba1db7ccf468c
Please reload this pagehttps://github.com/python/pythoncapi-compat/pull/159
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Nov 5, 2025https://github.com/python/pythoncapi-compat/pull/159#issuecomment-3492859865
Please reload this pagehttps://github.com/python/pythoncapi-compat/pull/159
colesburyhttps://github.com/colesbury
November 5, 2025 16:44https://github.com/python/pythoncapi-compat/pull/159#commits-pushed-6240ab3
https://github.com/colesbury
https://github.com/vstinner
Apply suggestions from code reviewhttps://github.com/python/pythoncapi-compat/pull/159/commits/6240ab3b9ad4e34eed1cfda0fe3a35441364bfc1
6240ab3https://github.com/python/pythoncapi-compat/pull/159/commits/6240ab3b9ad4e34eed1cfda0fe3a35441364bfc1
https://github.com/colesbury
Rename MyType to TryIncrefTypehttps://github.com/python/pythoncapi-compat/pull/159/commits/ac639f69d9750164acf42d7562a29b2c9f6a3664
ac639f6https://github.com/python/pythoncapi-compat/pull/159/commits/ac639f69d9750164acf42d7562a29b2c9f6a3664
https://github.com/colesbury
colesburyhttps://github.com/colesbury
vstinnerhttps://github.com/vstinner
November 5, 2025 21:46https://github.com/python/pythoncapi-compat/pull/159#event-20742301327
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Nov 5, 2025 https://github.com/python/pythoncapi-compat/pull/159#pullrequestreview-3424598282
View reviewed changes https://github.com/python/pythoncapi-compat/pull/159/files/ac639f69d9750164acf42d7562a29b2c9f6a3664
tests/test_pythoncapi_compat_cext.chttps://github.com/python/pythoncapi-compat/pull/159/files/ac639f69d9750164acf42d7562a29b2c9f6a3664#diff-35d7a40ba0c92dfc39d93e0f7a7ed4b404e9ab7ac23f06d4725af8741b7c6d12
vstinnerhttps://github.com/vstinner
Nov 5, 2025https://github.com/python/pythoncapi-compat/pull/159#discussion_r2496293774
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/pythoncapi-compat/pull/159
https://github.com/colesbury
Rename MyObject to TryIncrefhttps://github.com/python/pythoncapi-compat/pull/159/commits/6d697809fc9f80e49d7fde93109a78a8e6848afc
6d69780https://github.com/python/pythoncapi-compat/pull/159/commits/6d697809fc9f80e49d7fde93109a78a8e6848afc
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
c44469chttps://github.com/python/pythoncapi-compat/commit/c44469cc02bc857de286f9043b677d545c2030b7
Nov 5, 2025https://github.com/python/pythoncapi-compat/pull/159#event-20742633780
Please reload this pagehttps://github.com/python/pythoncapi-compat/pull/159
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Nov 5, 2025https://github.com/python/pythoncapi-compat/pull/159#issuecomment-3493748486
Please reload this pagehttps://github.com/python/pythoncapi-compat/pull/159
https://github.com/colesbury
colesburyhttps://github.com/colesbury
November 5, 2025 22:08https://github.com/python/pythoncapi-compat/pull/159#event-20742655980
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%2Fpythoncapi-compat%2Fpull%2F159
https://github.com/vstinner
vstinner https://github.com/vstinner
https://github.com/python/pythoncapi-compat/pull/159/files/ac639f69d9750164acf42d7562a29b2c9f6a3664
Please reload this pagehttps://github.com/python/pythoncapi-compat/pull/159
https://github.com/colesbury
https://github.com/vstinner
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.