René's URL Explorer Experiment


Title: bpo-39573: Py_TYPE becomes a static inline function by vstinner · Pull Request #26493 · python/cpython · GitHub

Open Graph Title: bpo-39573: Py_TYPE becomes a static inline function by vstinner · Pull Request #26493 · python/cpython

X Title: bpo-39573: Py_TYPE becomes a static inline function by vstinner · Pull Request #26493 · python/cpython

Description: Convert the Py_TYPE() and Py_SIZE() macros to static inline functions. The Py_SET_TYPE() and Py_SET_SIZE() functions must now be used to set an object type and size. https://bugs.python.org/issue...

Open Graph Description: Convert the Py_TYPE() and Py_SIZE() macros to static inline functions. The Py_SET_TYPE() and Py_SET_SIZE() functions must now be used to set an object type and size. https://bugs.python.org/issue...

X Description: Convert the Py_TYPE() and Py_SIZE() macros to static inline functions. The Py_SET_TYPE() and Py_SET_SIZE() functions must now be used to set an object type and size. https://bugs.python.org/issue...

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

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:6ddd2d44-6b76-0fd3-5817-02eeb629a523
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE3A2:269EF9:577199:783A8A:6969E0B0
html-safe-nonce087ab4d62f899dccdf34a58b5664bff7d60c8d80c543e3487b732cbdf3a05162
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFM0EyOjI2OUVGOTo1NzcxOTk6NzgzQThBOjY5NjlFMEIwIiwidmlzaXRvcl9pZCI6IjU5OTQxNTg2ODIxMDQwNTU1MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacb7dd4ff887c0769e5beda087dcecc34dc6f5d0d599c218c3b537be3797dded8a
hovercard-subject-tagpull_request:660449597
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/26493/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/de6814392547f5acc80eea278817c885449ae31f80a4d2899c275337877e7640/python/cpython/pull/26493
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/de6814392547f5acc80eea278817c885449ae31f80a4d2899c275337877e7640/python/cpython/pull/26493
og:image:altConvert the Py_TYPE() and Py_SIZE() macros to static inline functions. The Py_SET_TYPE() and Py_SET_SIZE() functions must now be used to set an object type and size. https://bugs.python.org/issue...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamevstinner
hostnamegithub.com
expected-hostnamegithub.com
None7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8
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
releasebdde15ad1b403e23b08bbd89b53fbe6bdf688cad
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/26493#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F26493
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%2F26493
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/26493
Reloadhttps://github.com/python/cpython/pull/26493
Reloadhttps://github.com/python/cpython/pull/26493
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/26493
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/26493
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/26493#issue-comment-box
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
bpo-39573: Py_TYPE becomes a static inline function https://github.com/python/cpython/pull/26493#top
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
Conversation 4 https://github.com/python/cpython/pull/26493
Commits 1 https://github.com/python/cpython/pull/26493/commits
Checks 0 https://github.com/python/cpython/pull/26493/checks
Files changed https://github.com/python/cpython/pull/26493/files
Please reload this pagehttps://github.com/python/cpython/pull/26493
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Jun 2, 2021https://github.com/python/cpython/pull/26493#issue-909951952
Please reload this pagehttps://github.com/python/cpython/pull/26493
https://bugs.python.org/issue39573https://bugs.python.org/issue39573
Please reload this pagehttps://github.com/python/cpython/pull/26493
https://github.com/vstinner
bpo-39573https://bugs.python.org/issue?@action=redirect&bpo=39573
: Py_TYPE becomes a static inline functionhttps://github.com/python/cpython/pull/26493/commits/a3796117fd60069a136983a759740d1921e27d0f
a379611https://github.com/python/cpython/pull/26493/commits/a3796117fd60069a136983a759740d1921e27d0f
https://github.com/the-knights-who-say-ni
the-knights-who-say-nihttps://github.com/the-knights-who-say-ni
CLA signed https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22
Jun 2, 2021https://github.com/python/cpython/pull/26493#event-4834487191
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Jun 2, 2021https://github.com/python/cpython/pull/26493#event-4834487263
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Jun 2, 2021https://github.com/python/cpython/pull/26493#issuecomment-853442227
https://bugs.python.org/issue39573#msg370074https://bugs.python.org/issue39573#msg370074
https://github.com/pythoncapi/pythoncapi_compathttps://github.com/pythoncapi/pythoncapi_compat
Please reload this pagehttps://github.com/python/cpython/pull/26493
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Jun 2, 2021https://github.com/python/cpython/pull/26493#issuecomment-853442484
https://vstinner.github.io/pythoncapi_compat.htmlhttps://vstinner.github.io/pythoncapi_compat.html
Please reload this pagehttps://github.com/python/cpython/pull/26493
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Jun 3, 2021https://github.com/python/cpython/pull/26493#issuecomment-854018164
#20290https://github.com/python/cpython/pull/20290
Please reload this pagehttps://github.com/python/cpython/pull/26493
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
f3fa63ehttps://github.com/python/cpython/commit/f3fa63ec75fdbb4a08a10957a5c631bf0c4a5970
Jun 3, 2021https://github.com/python/cpython/pull/26493#event-4838705358
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Jun 3, 2021https://github.com/python/cpython/pull/26493#event-4838705535
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
June 3, 2021 16:43https://github.com/python/cpython/pull/26493#event-4838705608
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Jun 3, 2021https://github.com/python/cpython/pull/26493#issuecomment-854020152
Please reload this pagehttps://github.com/python/cpython/pull/26493
pablogsalhttps://github.com/pablogsal
Jun 8, 2021 https://github.com/python/cpython/pull/26493#ref-commit-9737fa5
https://github.com/pablogsal
bpo-44348: Revert "bpo-39573: Py_TYPE becomes a static inline function (https://github.com/pablogsal/cpython/commit/9737fa532f201a87f5243f01a65b5dbd94013e20
9737fa5https://github.com/pablogsal/cpython/commit/9737fa532f201a87f5243f01a65b5dbd94013e20
pythonGH-26493https://github.com/python/cpython/pull/26493
f3fa63ehttps://github.com/pablogsal/cpython/commit/f3fa63ec75fdbb4a08a10957a5c631bf0c4a5970
pablogsalhttps://github.com/pablogsal
Jun 8, 2021 https://github.com/python/cpython/pull/26493#ref-commit-6d518bb
https://github.com/pablogsal
bpo-44348https://bugs.python.org/issue?@action=redirect&bpo=44348
: Revert "https://github.com/python/cpython/commit/6d518bb3a11f9b16098f45b21a13ebe8f537f045
bpo-39573https://bugs.python.org/issue?@action=redirect&bpo=39573
: Py_TYPE becomes a static inline function (https://github.com/python/cpython/commit/6d518bb3a11f9b16098f45b21a13ebe8f537f045
6d518bbhttps://github.com/python/cpython/commit/6d518bb3a11f9b16098f45b21a13ebe8f537f045
GH-26493https://github.com/python/cpython/pull/26493
GH-26596https://github.com/python/cpython/pull/26596
f3fa63ehttps://github.com/python/cpython/commit/f3fa63ec75fdbb4a08a10957a5c631bf0c4a5970
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Mar 12, 2024 https://github.com/python/cpython/pull/26493#ref-issue-1199030155
[C API] Avoid accessing PyObject and PyVarObject members directly: add Py_SET_TYPE() and Py_IS_TYPE(), disallow Py_TYPE(obj)=type #83754 https://github.com/python/cpython/issues/83754
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%2F26493
Please reload this pagehttps://github.com/python/cpython/pull/26493
https://github.com/vstinner
https://github.com/the-knights-who-say-ni
https://github.com/bedevere-bot
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.