| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:a8d17ee4-bc01-57d7-a12c-cd1ddf3922f5 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8DAA:2412:73829:9815E:6B024339 |
| html-safe-nonce | d1d9f4221c72eba771621cc49ade28784868d75087644399d8074d6c41778995 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4REFBOjI0MTI6NzM4Mjk6OTgxNUU6NkIwMjQzMzkiLCJ2aXNpdG9yX2lkIjoiMzI2Nzk1MzkzMTk5Njc3NTIyNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9c9275ba66d3056c379eefe75068e1a926e151525fcaddb68c60b11e7a1c7a3f |
| hovercard-subject-tag | pull_request:5284862909 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/161911/files |
| twitter:image | https://avatars.githubusercontent.com/u/194129?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/194129?s=400&v=4 |
| og:image:alt | Check also for integer overflow in _PyType_AllocNoTrack().
Remove redundant (and incomplete) integer overflow from tuple_alloc() and _PyTuple_Resize().
Issue: gh-161694 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/161911/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F161911%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F161911%2Ffiles |
| 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%2Ffiles&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/161911/files |
| Reload | https://github.com/python/cpython/pull/161911/files |
| Reload | https://github.com/python/cpython/pull/161911/files |
| python | https://github.com/python |
| cpython | https://github.com/python/cpython |
| Code | https://github.com/python/cpython |
| Issues5k+ (5k+) | https://github.com/python/cpython/issues |
| Pull requests2.4k (2.4k) | https://github.com/python/cpython/pulls |
| Actions | https://github.com/python/cpython/actions |
| Projects | https://github.com/python/cpython/projects |
| Security and quality | https://github.com/python/cpython/security |
| Insights | https://github.com/python/cpython/insights |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| vstinner | https://github.com/vstinner |
| python:main | https://github.com/python/cpython/tree/main |
| vstinner:object_var_size | https://github.com/vstinner/cpython/tree/object_var_size |
|
Conversation
7
| https://github.com/python/cpython/pull/161911 |
|
Commits
7
| https://github.com/python/cpython/pull/161911/commits |
|
Checks
53
| https://github.com/python/cpython/pull/161911/checks |
|
Files changed
| https://github.com/python/cpython/pull/161911/files |
| Please reload this page | https://github.com/python/cpython/pull/161911/files |
|
gh-161694: Check for integer overflow in _PyObject_VAR_SIZE()
| https://github.com/python/cpython/pull/161911/files#top |
|
Show all changes
7 commits
| https://github.com/python/cpython/pull/161911/files |
|
1cd073f
gh-161694: Check for integer overflow in _PyObject_VAR_SIZE()
vstinner Nov 12, 2026
| https://github.com/python/cpython/pull/161911/commits/1cd073ffa3b0f82400394af2ab9df2a83362f688 |
|
bad2045
Fix NEWS entry
vstinner Nov 12, 2026
| https://github.com/python/cpython/pull/161911/commits/bad2045f60f0391370504297dee4ed62192ebdce |
|
5998a8d
Check also overflow on nitems+1 in _PyType_AllocNoTrack()
vstinner Nov 12, 2026
| https://github.com/python/cpython/pull/161911/commits/5998a8d25abc4d023a420cc74376f6618c414ad5 |
|
3b6abf7
Fix test_cext
vstinner Nov 12, 2026
| https://github.com/python/cpython/pull/161911/commits/3b6abf719ddd840c2a145c2d498c07660b70842f |
|
e9f6280
Micro-optimize
vstinner Nov 12, 2026
| https://github.com/python/cpython/pull/161911/commits/e9f628015ee360066bd6b72a6de9cf571f4b11e4 |
|
e1e0a17
Fix typo in the Changelog entry
vstinner Nov 13, 2026
| https://github.com/python/cpython/pull/161911/commits/e1e0a17dcbce1712d643c1603a3643f380373ce0 |
|
58e9657
Fix test_cext for "ISO C90 forbids mixed declarations and code"
vstinner Nov 13, 2026
| https://github.com/python/cpython/pull/161911/commits/58e96571be3424570d9ce9d6d68f65b5ad42528d |
|
Clear filters
| https://github.com/python/cpython/pull/161911/files |
| Please reload this page | https://github.com/python/cpython/pull/161911/files |
| Please reload this page | https://github.com/python/cpython/pull/161911/files |
|
objimpl.h
| https://github.com/python/cpython/pull/161911/files#diff-086e17704d93b1c656eeb707d394c9d0424bfae7311352f84ab00d9ef913a298 |
|
objimpl.h
| https://github.com/python/cpython/pull/161911/files#diff-cba22cdca191d42387ce16b30235bf2d36934a58a488f2b56d5bc6965e3a157d |
|
2026-11-12-21-34-55.gh-issue-161694.71tZlp.rst
| https://github.com/python/cpython/pull/161911/files#diff-b03388ee62918e4ea355c6c2b4aa5691863fabda5c6c8625fd6cf5a6636e2f5f |
|
tupleobject.c
| https://github.com/python/cpython/pull/161911/files#diff-1c580282bd10a8157cc81dd4a4658d4bb47f75ea476cd433bc7435913b33eb77 |
|
typeobject.c
| https://github.com/python/cpython/pull/161911/files#diff-1decebeef15f4e0b0ce106c665751ec55068d4d1d1825847925ad4f528b5b872 |
|
gc.c
| https://github.com/python/cpython/pull/161911/files#diff-a848a0ef178aa113a092e72403da0e344f37bd141bb90a7aa65015c77bfe7385 |
|
gc_free_threading.c
| https://github.com/python/cpython/pull/161911/files#diff-4722ae850a2da3e12f50815c0e3932627ebe67edeaa8b7f28a94f20c8698204d |
| Include/cpython/objimpl.h | https://github.com/python/cpython/pull/161911/files#diff-086e17704d93b1c656eeb707d394c9d0424bfae7311352f84ab00d9ef913a298 |
|
View file
| https://github.com/python/cpython/blob/58e96571be3424570d9ce9d6d68f65b5ad42528d/Include/cpython/objimpl.h |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/161911/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/161911/files#diff-086e17704d93b1c656eeb707d394c9d0424bfae7311352f84ab00d9ef913a298 |
| eendebakpt | https://github.com/eendebakpt |
| Nov 17, 2026 | https://github.com/python/cpython/pull/161911/files#r4606488593 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/161911/files |
|
| https://github.com/python/cpython/pull/161911/files#diff-086e17704d93b1c656eeb707d394c9d0424bfae7311352f84ab00d9ef913a298 |
| Include/objimpl.h | https://github.com/python/cpython/pull/161911/files#diff-cba22cdca191d42387ce16b30235bf2d36934a58a488f2b56d5bc6965e3a157d |
|
View file
| https://github.com/python/cpython/blob/58e96571be3424570d9ce9d6d68f65b5ad42528d/Include/objimpl.h |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/161911/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/161911/files#diff-cba22cdca191d42387ce16b30235bf2d36934a58a488f2b56d5bc6965e3a157d |
|
| https://github.com/python/cpython/pull/161911/files#diff-cba22cdca191d42387ce16b30235bf2d36934a58a488f2b56d5bc6965e3a157d |
| Misc/NEWS.d/next/C_API/2026-11-12-21-34-55.gh-issue-161694.71tZlp.rst | https://github.com/python/cpython/pull/161911/files#diff-b03388ee62918e4ea355c6c2b4aa5691863fabda5c6c8625fd6cf5a6636e2f5f |
|
View file
| https://github.com/python/cpython/blob/58e96571be3424570d9ce9d6d68f65b5ad42528d/Misc/NEWS.d/next/C_API/2026-11-12-21-34-55.gh-issue-161694.71tZlp.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/161911/{{ revealButtonHref }} |
| Objects/tupleobject.c | https://github.com/python/cpython/pull/161911/files#diff-1c580282bd10a8157cc81dd4a4658d4bb47f75ea476cd433bc7435913b33eb77 |
|
View file
| https://github.com/python/cpython/blob/58e96571be3424570d9ce9d6d68f65b5ad42528d/Objects/tupleobject.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/161911/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/161911/files#diff-1c580282bd10a8157cc81dd4a4658d4bb47f75ea476cd433bc7435913b33eb77 |
|
| https://github.com/python/cpython/pull/161911/files#diff-1c580282bd10a8157cc81dd4a4658d4bb47f75ea476cd433bc7435913b33eb77 |
|
| https://github.com/python/cpython/pull/161911/files#diff-1c580282bd10a8157cc81dd4a4658d4bb47f75ea476cd433bc7435913b33eb77 |
|
| https://github.com/python/cpython/pull/161911/files#diff-1c580282bd10a8157cc81dd4a4658d4bb47f75ea476cd433bc7435913b33eb77 |
|
| https://github.com/python/cpython/pull/161911/files#diff-1c580282bd10a8157cc81dd4a4658d4bb47f75ea476cd433bc7435913b33eb77 |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L217 |
| Objects/typeobject.c | https://github.com/python/cpython/pull/161911/files#diff-1decebeef15f4e0b0ce106c665751ec55068d4d1d1825847925ad4f528b5b872 |
|
View file
| https://github.com/python/cpython/blob/58e96571be3424570d9ce9d6d68f65b5ad42528d/Objects/typeobject.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/161911/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/161911/files#diff-1decebeef15f4e0b0ce106c665751ec55068d4d1d1825847925ad4f528b5b872 |
|
| https://github.com/python/cpython/pull/161911/files#diff-1decebeef15f4e0b0ce106c665751ec55068d4d1d1825847925ad4f528b5b872 |
| Python/gc.c | https://github.com/python/cpython/pull/161911/files#diff-a848a0ef178aa113a092e72403da0e344f37bd141bb90a7aa65015c77bfe7385 |
|
View file
| https://github.com/python/cpython/blob/58e96571be3424570d9ce9d6d68f65b5ad42528d/Python/gc.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/161911/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/161911/files#diff-a848a0ef178aa113a092e72403da0e344f37bd141bb90a7aa65015c77bfe7385 |
|
| https://github.com/python/cpython/pull/161911/files#diff-a848a0ef178aa113a092e72403da0e344f37bd141bb90a7aa65015c77bfe7385 |
|
| https://github.com/python/cpython/pull/161911/files#diff-a848a0ef178aa113a092e72403da0e344f37bd141bb90a7aa65015c77bfe7385 |
|
| https://github.com/python/cpython/pull/161911/files#diff-a848a0ef178aa113a092e72403da0e344f37bd141bb90a7aa65015c77bfe7385 |
| Python/gc_free_threading.c | https://github.com/python/cpython/pull/161911/files#diff-4722ae850a2da3e12f50815c0e3932627ebe67edeaa8b7f28a94f20c8698204d |
|
View file
| https://github.com/python/cpython/blob/58e96571be3424570d9ce9d6d68f65b5ad42528d/Python/gc_free_threading.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/161911/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/161911/files#diff-4722ae850a2da3e12f50815c0e3932627ebe67edeaa8b7f28a94f20c8698204d |
|
| https://github.com/python/cpython/pull/161911/files#diff-4722ae850a2da3e12f50815c0e3932627ebe67edeaa8b7f28a94f20c8698204d |
|
| https://github.com/python/cpython/pull/161911/files#diff-4722ae850a2da3e12f50815c0e3932627ebe67edeaa8b7f28a94f20c8698204d |
|
| https://github.com/python/cpython/pull/161911/files#diff-4722ae850a2da3e12f50815c0e3932627ebe67edeaa8b7f28a94f20c8698204d |
| Please reload this page | https://github.com/python/cpython/pull/161911/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |