René's URL Explorer Experiment


Title: gh-99845: Use size_t type in __sizeof__() methods by vstinner · Pull Request #99846 · python/cpython · GitHub

Open Graph Title: gh-99845: Use size_t type in __sizeof__() methods by vstinner · Pull Request #99846 · python/cpython

X Title: gh-99845: Use size_t type in __sizeof__() methods by vstinner · Pull Request #99846 · python/cpython

Description: The implementation of sizeof() methods using _PyObject_SIZE() now use unsigned size_t type to compute the size, rather than the signed Py_ssize_t type. Cast explicitly signed (Py_ssize_t) values to...

Open Graph Description: The implementation of sizeof() methods using _PyObject_SIZE() now use unsigned size_t type to compute the size, rather than the signed Py_ssize_t type. Cast explicitly signed (Py_ssize_t) values to...

X Description: The implementation of sizeof() methods using _PyObject_SIZE() now use unsigned size_t type to compute the size, rather than the signed Py_ssize_t type. Cast explicitly signed (Py_ssize_t) values to...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/*id(.:format)
route-controllerpull_requests
route-actionshow
fetch-noncev2:3c02085d-8387-6e5c-41a0-f8d86ab7fd39
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD4C6:F2B91:179D376:1F877CE:6969BF00
html-safe-noncec8041c18a8cf84c8aa13157aa7a271ea37ef7a9e3e3f0865507bbf3d41d28e54
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENEM2OkYyQjkxOjE3OUQzNzY6MUY4NzdDRTo2OTY5QkYwMCIsInZpc2l0b3JfaWQiOiI1MzIyODYyNzI1Mjk1NjE5ODQwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacfbb1997763bce868c94c0e9560875bc74cc18ce98573d8a03723f797c214ba9a
hovercard-subject-tagpull_request:1137801551
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
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/99846
twitter:imagehttps://opengraph.githubassets.com/4a8371512abc301f6ed4656ff4c061516e7e1696c268067688dacd6b84a5676b/python/cpython/pull/99846
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4a8371512abc301f6ed4656ff4c061516e7e1696c268067688dacd6b84a5676b/python/cpython/pull/99846
og:image:altThe implementation of sizeof() methods using _PyObject_SIZE() now use unsigned size_t type to compute the size, rather than the signed Py_ssize_t type. Cast explicitly signed (Py_ssize_t) values to...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamevstinner
hostnamegithub.com
expected-hostnamegithub.com
Noneacedec8b5f975d9e3d494ddd8f949b0b8a0de59d393901e26f73df9dcba80056
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
release83c08c21cdda978090dc44364b71aa5bc6dcea79
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/99846#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F99846
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%2F99846
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&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/99846
Reloadhttps://github.com/python/cpython/pull/99846
Reloadhttps://github.com/python/cpython/pull/99846
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/99846
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/99846
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/99846#issue-comment-box
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
gh-99845: Use size_t type in __sizeof__() methods https://github.com/python/cpython/pull/99846#top
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
Conversation 2 https://github.com/python/cpython/pull/99846
Commits 2 https://github.com/python/cpython/pull/99846/commits
Checks 0 https://github.com/python/cpython/pull/99846/checks
Files changed https://github.com/python/cpython/pull/99846/files
Please reload this pagehttps://github.com/python/cpython/pull/99846
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Nov 28, 2022https://github.com/python/cpython/pull/99846#issue-1466715944
Please reload this pagehttps://github.com/python/cpython/pull/99846
PEP 670: Convert _PyObject_SIZE() and _PyObject_VAR_SIZE() macros to functions #99845https://github.com/python/cpython/issues/99845
Please reload this pagehttps://github.com/python/cpython/pull/99846
https://github.com/vstinner
gh-99845https://github.com/python/cpython/issues/99845
: Use size_t type in __sizeof__() methodshttps://github.com/python/cpython/pull/99846/commits/de1ae487275d96a2b12e036dcd68722d9466e86c
de1ae48https://github.com/python/cpython/pull/99846/commits/de1ae487275d96a2b12e036dcd68722d9466e86c
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Nov 28, 2022https://github.com/python/cpython/pull/99846#event-7904660582
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
rhettingerhttps://github.com/rhettinger
code ownerhttps://github.com/python/cpython/blob/65417988a589e6edfeada83227a8b0884a64af4f/.github/CODEOWNERS#L17
November 28, 2022 16:30https://github.com/python/cpython/pull/99846#event-7904660705
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Nov 28, 2022 https://github.com/python/cpython/pull/99846#ref-issue-1466671640
PEP 670: Convert _PyObject_SIZE() and _PyObject_VAR_SIZE() macros to functions #99845 https://github.com/python/cpython/issues/99845
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
Nov 28, 2022https://github.com/python/cpython/pull/99846#event-7904661709
https://github.com/vstinner
Fix compiler warnings in deque_sizeof()https://github.com/python/cpython/pull/99846/commits/1710a7d57c0061b5d53daa5db5289ce440a7365c
1710a7dhttps://github.com/python/cpython/pull/99846/commits/1710a7d57c0061b5d53daa5db5289ce440a7365c
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
85dd6cbhttps://github.com/python/cpython/commit/85dd6cb6df996b1197266d1a50ecc9187a91e481
Nov 30, 2022https://github.com/python/cpython/pull/99846#event-7923718643
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
Nov 30, 2022https://github.com/python/cpython/pull/99846#event-7923719122
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
November 30, 2022 16:22https://github.com/python/cpython/pull/99846#event-7923719205
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Nov 30, 2022 https://github.com/python/cpython/pull/99846#pullrequestreview-1199651324
View reviewed changes https://github.com/python/cpython/pull/99846/files/1710a7d57c0061b5d53daa5db5289ce440a7365c
Modules/_collectionsmodule.chttps://github.com/python/cpython/pull/99846/files/1710a7d57c0061b5d53daa5db5289ce440a7365c#diff-bfedaecb4a5a92b4dc78b96a753ae08600be7f0acab82383abcc6799aa47084c
serhiy-storchakahttps://github.com/serhiy-storchaka
Nov 30, 2022https://github.com/python/cpython/pull/99846#discussion_r1036191157
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/99846
vstinnerhttps://github.com/vstinner
Dec 1, 2022https://github.com/python/cpython/pull/99846#discussion_r1036944110
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
131801dhttps://github.com/python/cpython/commit/131801d14dfc4f0b2b79103612c88e2e282ff158
Please reload this pagehttps://github.com/python/cpython/pull/99846
carljmhttps://github.com/carljm
Dec 1, 2022 https://github.com/python/cpython/pull/99846#ref-commit-12f7659
https://github.com/carljm
Merge branch 'main' into fixinspecthttps://github.com/carljm/cpython/commit/12f76591309434e8857aeac78f6b0a14c0815a91
12f7659https://github.com/carljm/cpython/commit/12f76591309434e8857aeac78f6b0a14c0815a91
pythongh-99894https://github.com/python/cpython/issues/99894
python#99895https://github.com/python/cpython/pull/99895
pythongh-99612https://github.com/python/cpython/issues/99612
pythonGH-99613https://github.com/python/cpython/pull/99613
python#99917https://github.com/python/cpython/pull/99917
pythonGH-98906https://github.com/python/cpython/issues/98906
pythonGH-98916https://github.com/python/cpython/pull/98916
pythongh-89189https://github.com/python/cpython/issues/89189
pythonGH-27986https://github.com/python/cpython/pull/27986
pythonGH-25491https://github.com/python/cpython/pull/25491
pythonGH-99905https://github.com/python/cpython/issues/99905
pythonGH-99906https://github.com/python/cpython/pull/99906
pythongh-99845https://github.com/python/cpython/issues/99845
python#99850https://github.com/python/cpython/pull/99850
pythongh-99845https://github.com/python/cpython/issues/99845
python#99846https://github.com/python/cpython/pull/99846
pythonGH-99877https://github.com/python/cpython/pull/99877
python#99900https://github.com/python/cpython/pull/99900
pythongh-87092https://github.com/python/cpython/issues/87092
pythonGH-99869https://github.com/python/cpython/pull/99869
pythongh-99891https://github.com/python/cpython/issues/99891
pythonGH-99893https://github.com/python/cpython/pull/99893
pythongh-99824https://github.com/python/cpython/issues/99824
python#99825https://github.com/python/cpython/pull/99825
pythonGH-81057https://github.com/python/cpython/issues/81057
python#99411https://github.com/python/cpython/pull/99411
python#95892https://github.com/python/cpython/pull/95892
pythongh-98253https://github.com/python/cpython/issues/98253
python#98591https://github.com/python/cpython/pull/98591
pythongh-99127https://github.com/python/cpython/issues/99127
pythongh-99128https://github.com/python/cpython/pull/99128
pythongh-82836https://github.com/python/cpython/issues/82836
python#97733https://github.com/python/cpython/pull/97733
python#24767https://github.com/python/cpython/pull/24767
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%2F99846
https://github.com/serhiy-storchaka
serhiy-storchaka https://github.com/serhiy-storchaka
https://github.com/python/cpython/pull/99846/files/1710a7d57c0061b5d53daa5db5289ce440a7365c
https://github.com/rhettinger
rhettinger https://github.com/rhettinger
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Please reload this pagehttps://github.com/python/cpython/pull/99846
https://github.com/vstinner
https://github.com/serhiy-storchaka
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.