René's URL Explorer Experiment


Title: gh-158401: Implement Py_INCREF() as function call in stable ABI by vstinner · Pull Request #162120 · python/cpython · GitHub

Open Graph Title: gh-158401: Implement Py_INCREF() as function call in stable ABI by vstinner · Pull Request #162120 · python/cpython

X Title: gh-158401: Implement Py_INCREF() as function call in stable ABI by vstinner · Pull Request #162120 · python/cpython

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

Open Graph Description: Py_INCREF(), Py_XINCREF(), Py_DECREF() and Py_XDECREF() are now implemented as function calls on all limited C API versions. Previously, they were only implemented as function calls on the limited ...

X Description: Py_INCREF(), Py_XINCREF(), Py_DECREF() and Py_XDECREF() are now implemented as function calls on all limited C API versions. Previously, they were only implemented as function calls on the limited ...

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

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
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:d8499402-970a-9cde-4c74-6000c5a9cded
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCA7E:2F543F:15995C7:1C908DD:6B01FCF8
html-safe-nonceb20fce27dd1e4cb09449e34d1f13eeaf35621de4f67e170f559847f61b88283f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQTdFOjJGNTQzRjoxNTk5NUM3OjFDOTA4REQ6NkIwMUZDRjgiLCJ2aXNpdG9yX2lkIjoiNDY3ODY5Mzk2NTM3NjEyNjIwMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacdffe6d94c9e95ef6f4266f32ac282a80490fcb93e2b6381355562b2846ff013e
hovercard-subject-tagpull_request:5340818272
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/162120/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/0c9e2659f0b6bd30775ecb7df1a3a544efd6316844e5c105cf7ae7ba8350d690/python/cpython/pull/162120
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0c9e2659f0b6bd30775ecb7df1a3a544efd6316844e5c105cf7ae7ba8350d690/python/cpython/pull/162120
og:image:altPy_INCREF(), Py_XINCREF(), Py_DECREF() and Py_XDECREF() are now implemented as function calls on all limited C API versions. Previously, they were only implemented as function calls on the limited ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamevstinner
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/162120#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F162120
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F162120
Sign uphttps://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/162120
Reloadhttps://github.com/python/cpython/pull/162120
Reloadhttps://github.com/python/cpython/pull/162120
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
https://github.com/python/cpython
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
vstinner:limited_increfhttps://github.com/vstinner/cpython/tree/limited_incref
Conversationhttps://github.com/python/cpython/pull/162120
Commits6 (6)https://github.com/python/cpython/pull/162120/commits
Checkshttps://github.com/python/cpython/pull/162120/checks
Files changedhttps://github.com/python/cpython/pull/162120/files
gh-158401: Implement Py_INCREF() as function call in stable ABIhttps://github.com/python/cpython/pull/162120#top
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
vstinner:limited_increfhttps://github.com/vstinner/cpython/tree/limited_incref
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Nov 16, 2026https://github.com/python/cpython/pull/162120#issue-6425741623
Please reload this pagehttps://github.com/python/cpython/pull/162120
3.14: truthiness checks are not reliable in specialized bytecode #158401https://github.com/python/cpython/issues/158401
Please reload this pagehttps://github.com/python/cpython/pull/162120
https://github.com/vstinner
pythongh-158401https://github.com/python/cpython/issues/158401
: Implement Py_INCREF() as function call in stable ABIhttps://github.com/python/cpython/pull/162120/commits/996957004480fd9570511dc60a979bdb636ed52b
9969570https://github.com/python/cpython/pull/162120/commits/996957004480fd9570511dc60a979bdb636ed52b
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
topic-C-API https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-C-API
Nov 16, 2026https://github.com/python/cpython/pull/162120#event-36300103362
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Nov 16, 2026 https://github.com/python/cpython/pull/162120#ref-issue-5629423210
3.14: truthiness checks are not reliable in specialized bytecode #158401 https://github.com/python/cpython/issues/158401
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Nov 16, 2026https://github.com/python/cpython/pull/162120#event-36300120299
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Nov 16, 2026https://github.com/python/cpython/pull/162120#issuecomment-6922434687
Please reload this pagehttps://github.com/python/cpython/pull/162120
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Nov 16, 2026https://github.com/python/cpython/pull/162120#issuecomment-6922611950
#158401 (comment)https://github.com/python/cpython/issues/158401#issuecomment-6768925817
Please reload this pagehttps://github.com/python/cpython/pull/162120
https://github.com/hoodmane
hoodmanehttps://github.com/hoodmane
Nov 16, 2026 https://github.com/python/cpython/pull/162120#pullrequestreview-5924410688
View reviewed changes https://github.com/python/cpython/pull/162120/files/996957004480fd9570511dc60a979bdb636ed52b
Include/refcount.hhttps://github.com/python/cpython/pull/162120/files/996957004480fd9570511dc60a979bdb636ed52b#diff-586c6481df97b64cf94363854b92d8e896f8b969f9f160fdb69ba0eae3cdc987
Please reload this pagehttps://github.com/python/cpython/pull/162120
https://github.com/da-woods
da-woodshttps://github.com/da-woods
Nov 16, 2026 https://github.com/python/cpython/pull/162120#pullrequestreview-5924991662
View reviewed changes https://github.com/python/cpython/pull/162120/files/996957004480fd9570511dc60a979bdb636ed52b
da-woodshttps://github.com/da-woods
https://github.com/python/cpython/pull/162120#pullrequestreview-5924991662
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/162120
Include/refcount.hhttps://github.com/python/cpython/pull/162120/files/996957004480fd9570511dc60a979bdb636ed52b#diff-586c6481df97b64cf94363854b92d8e896f8b969f9f160fdb69ba0eae3cdc987
Please reload this pagehttps://github.com/python/cpython/pull/162120
vstinnerhttps://github.com/vstinner
November 16, 2026 22:29https://github.com/python/cpython/pull/162120#commits-pushed-9190921
https://github.com/vstinner
https://github.com/hoodmane
Apply suggestion fromhttps://github.com/python/cpython/pull/162120/commits/91909216f5cfb3058552efff53b838478eb7259d
@hoodmanehttps://github.com/hoodmane
9190921https://github.com/python/cpython/pull/162120/commits/91909216f5cfb3058552efff53b838478eb7259d
https://github.com/vstinner
Update Py_INCREF #ifdefhttps://github.com/python/cpython/pull/162120/commits/efeb67d936685296f4724999e38272616dd3e878
efeb67dhttps://github.com/python/cpython/pull/162120/commits/efeb67d936685296f4724999e38272616dd3e878
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Nov 16, 2026https://github.com/python/cpython/pull/162120#issuecomment-6930447037
@ngoldbaumhttps://github.com/ngoldbaum
https://discuss.python.org/t/limited-c-api-implement-py-incref-and-py-decref-as-function-calls/27592/22https://discuss.python.org/t/limited-c-api-implement-py-incref-and-py-decref-as-function-calls/27592/22
Please reload this pagehttps://github.com/python/cpython/pull/162120
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Nov 17, 2026https://github.com/python/cpython/pull/162120#issuecomment-6950550633
@encukouhttps://github.com/encukou
@serhiy-storchakahttps://github.com/serhiy-storchaka
Please reload this pagehttps://github.com/python/cpython/pull/162120
https://github.com/encukou
encukouhttps://github.com/encukou
Nov 18, 2026 https://github.com/python/cpython/pull/162120#pullrequestreview-5960927766
View reviewed changes https://github.com/python/cpython/pull/162120/files/efeb67d936685296f4724999e38272616dd3e878
Include/refcount.hhttps://github.com/python/cpython/pull/162120/files/efeb67d936685296f4724999e38272616dd3e878#diff-586c6481df97b64cf94363854b92d8e896f8b969f9f160fdb69ba0eae3cdc987
Please reload this pagehttps://github.com/python/cpython/pull/162120
vstinnerhttps://github.com/vstinner
November 18, 2026 19:42https://github.com/python/cpython/pull/162120#commits-pushed-eeaebb2
https://github.com/vstinner
https://github.com/encukou
Apply suggestion fromhttps://github.com/python/cpython/pull/162120/commits/eeaebb26d0a87b8c06b7ef569056959b8b2dcdf3
@encukouhttps://github.com/encukou
eeaebb2https://github.com/python/cpython/pull/162120/commits/eeaebb26d0a87b8c06b7ef569056959b8b2dcdf3
https://github.com/vstinner
Update also Py_DECREF() commenthttps://github.com/python/cpython/pull/162120/commits/f0ea5e6c6fbf4bfd19597560404334e0852c0d38
f0ea5e6https://github.com/python/cpython/pull/162120/commits/f0ea5e6c6fbf4bfd19597560404334e0852c0d38
https://github.com/encukou
encukouhttps://github.com/encukou
Nov 19, 2026 https://github.com/python/cpython/pull/162120#pullrequestreview-5978269665
View reviewed changes https://github.com/python/cpython/pull/162120/files/f0ea5e6c6fbf4bfd19597560404334e0852c0d38
encukouhttps://github.com/encukou
https://github.com/python/cpython/pull/162120#pullrequestreview-5978269665
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/162120
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 core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Nov 19, 2026https://github.com/python/cpython/pull/162120#event-36669066889
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Nov 19, 2026 https://github.com/python/cpython/pull/162120#pullrequestreview-5979330299
View reviewed changes https://github.com/python/cpython/pull/162120/files/f0ea5e6c6fbf4bfd19597560404334e0852c0d38
Include/refcount.hhttps://github.com/python/cpython/pull/162120/files/f0ea5e6c6fbf4bfd19597560404334e0852c0d38#diff-586c6481df97b64cf94363854b92d8e896f8b969f9f160fdb69ba0eae3cdc987
Please reload this pagehttps://github.com/python/cpython/pull/162120
https://github.com/vstinner
Apply suggestion fromhttps://github.com/python/cpython/pull/162120/commits/06ebd095cb0d4e0ac33042a191cc9f56d6143be3
@vstinnerhttps://github.com/vstinner
06ebd09https://github.com/python/cpython/pull/162120/commits/06ebd095cb0d4e0ac33042a191cc9f56d6143be3
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
November 19, 2026 16:45https://github.com/python/cpython/pull/162120#event-36675590834
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
d1e3caehttps://github.com/python/cpython/commit/d1e3cae9d6d55abd763dfca18877c2bd0db13ad0
Nov 20, 2026https://github.com/python/cpython/pull/162120#event-36769115744
Please reload this pagehttps://github.com/python/cpython/pull/162120
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
November 20, 2026 12:44https://github.com/python/cpython/pull/162120#event-36769118169
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
Nov 20, 2026https://github.com/python/cpython/pull/162120#event-36769121726
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
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%2F162120
https://github.com/hoodmane
hoodmane https://github.com/hoodmane
https://github.com/python/cpython/pull/162120/files/996957004480fd9570511dc60a979bdb636ed52b
https://github.com/encukou
encukou https://github.com/encukou
https://github.com/python/cpython/pull/162120/files/f0ea5e6c6fbf4bfd19597560404334e0852c0d38
https://github.com/da-woods
da-woods https://github.com/da-woods
https://github.com/python/cpython/pull/162120/files/996957004480fd9570511dc60a979bdb636ed52b
Please reload this pagehttps://github.com/python/cpython/pull/162120
topic-C-API https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-C-API
Please reload this pagehttps://github.com/python/cpython/pull/162120
https://github.com/vstinner
https://github.com/encukou
https://github.com/hoodmane
https://github.com/da-woods
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.