| 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 | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:7d8a3860-41cc-aae7-2c9f-0464e27b1b2a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8C74:D1D28:186B1E4:205DAD7:6B021097 |
| html-safe-nonce | d6b4cee37e6c3c0984732286b68213075a94afe40a5fb5adffbe48a3080617c6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Qzc0OkQxRDI4OjE4NkIxRTQ6MjA1REFENzo2QjAyMTA5NyIsInZpc2l0b3JfaWQiOiI4MDIyMDkyNDEwNjMwODM2Mzc1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 9bce8264f23932f1dd4a6be95b6e1452a8129748c310ee57040d088fb6ee50be |
| hovercard-subject-tag | issue:5673868700 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/issues_fragments/issue_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/158592/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3ec6d0653120f0e90262c7312bbc10abfd7d1731fafb7ad3a1ef33691a79a794/python/cpython/issues/158592 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3ec6d0653120f0e90262c7312bbc10abfd7d1731fafb7ad3a1ef33691a79a794/python/cpython/issues/158592 |
| og:image:alt | Bug report This works as expected: >>> import sys >>> seq = list(range(1000)) >>> sys.getsizeof(seq) 8056 >>> for _ in range(1000): ... seq.pop() >>> sys.getsizeof(seq) 56 But this does not: >>> im... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | x42005e1f |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| 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 |
| disable-turbo | false |
| 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 |
| react-app-name | issues |
| Skip to content | https://github.com/python/cpython/issues/158592#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F158592 |
| 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%2Fissues%2F158592 |
| 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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/issues/158592 |
| Reload | https://github.com/python/cpython/issues/158592 |
| Reload | https://github.com/python/cpython/issues/158592 |
| 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 |
| https://github.com/python/cpython |
| New issue | https://github.com/login?return_to=https://github.com/python/cpython/issues/158592 |
| New issue | https://github.com/login?return_to=https://github.com/python/cpython/issues/158592 |
| del list[index] never reallocates the array | https://github.com/python/cpython/issues/158592#top |
| 3.14bugs and security fixes | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.14%22 |
| 3.15bugs and security fixes | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.15%22 |
| 3.16new features, bugs and security fixes | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.16%22 |
| interpreter-core(Objects, Python, Grammar, and Parser dirs) | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22interpreter-core%22 |
| performancePerformance or resource usage | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22performance%22 |
| type-bugAn unexpected behavior, bug, or error | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22 |
| type-refactorCode refactoring (with no changes in behavior) | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-refactor%22 |
| https://github.com/x42005e1f |
| x42005e1f | https://github.com/x42005e1f |
| on Oct 2, 2026 | https://github.com/python/cpython/issues/158592#issue-5673868700 |
| #115605 | https://github.com/python/cpython/pull/115605 |
| gh-158592: Reallocate the list's array when deleting by index #158602 | https://github.com/python/cpython/pull/158602 |
| gh-158592: Skip reallocation when shrinking a small list #158787 | https://github.com/python/cpython/pull/158787 |
| [3.15] gh-158592: Skip reallocation when shrinking a small list (GH-158787) #159001 | https://github.com/python/cpython/pull/159001 |
| [3.14] gh-158592: Skip reallocation when shrinking a small list (GH-158787) #159002 | https://github.com/python/cpython/pull/159002 |
| x42005e1f | https://github.com/x42005e1f |
| type-bugAn unexpected behavior, bug, or error | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22 |
| on Oct 2, 2026 | https://github.com/python/cpython/issues/158592#event-32314282592 |
| aisk | https://github.com/aisk |
| interpreter-core(Objects, Python, Grammar, and Parser dirs) | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22interpreter-core%22 |
| 3.14bugs and security fixes | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.14%22 |
| 3.15bugs and security fixes | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.15%22 |
| on Oct 2, 2026 | https://github.com/python/cpython/issues/158592#event-32319921718 |
| https://github.com/picnixz |
| picnixz | https://github.com/picnixz |
| on Oct 2, 2026 | https://github.com/python/cpython/issues/158592#issuecomment-5950218337 |
| picnixz | https://github.com/picnixz |
| pendingThe issue will be closed if no feedback is provided | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22pending%22 |
| type-featureA feature request or enhancement | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-feature%22 |
| type-bugAn unexpected behavior, bug, or error | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22 |
| on Oct 2, 2026 | https://github.com/python/cpython/issues/158592#event-32326183486 |
| https://github.com/x42005e1f |
| x42005e1f | https://github.com/x42005e1f |
| on Oct 2, 2026 | https://github.com/python/cpython/issues/158592#issuecomment-5950456041 |
| https://github.com/picnixz |
| picnixz | https://github.com/picnixz |
| on Oct 2, 2026 | https://github.com/python/cpython/issues/158592#issuecomment-5950555053 |
| https://github.com/picnixz |
| picnixz | https://github.com/picnixz |
| on Oct 2, 2026 | https://github.com/python/cpython/issues/158592#issuecomment-5950601951 |
| picnixz | https://github.com/picnixz |
| type-bugAn unexpected behavior, bug, or error | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22 |
| performancePerformance or resource usage | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22performance%22 |
| type-refactorCode refactoring (with no changes in behavior) | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-refactor%22 |
| 3.16new features, bugs and security fixes | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.16%22 |
| pendingThe issue will be closed if no feedback is provided | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22pending%22 |
| on Oct 2, 2026 | https://github.com/python/cpython/issues/158592#event-32327332113 |
| https://github.com/x42005e1f |
| x42005e1f | https://github.com/x42005e1f |
| on Oct 2, 2026 | https://github.com/python/cpython/issues/158592#issuecomment-5950616872 |
| https://github.com/picnixz |
| picnixz | https://github.com/picnixz |
| on Oct 2, 2026 | https://github.com/python/cpython/issues/158592#issuecomment-5950851716 |
| PEP-7 | https://peps.python.org/7 |
| PEP-7 | https://peps.python.org/7 |
| PEP-8 | https://peps.python.org/8 |
| picnixz | https://github.com/picnixz |
| type-featureA feature request or enhancement | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-feature%22 |
| on Oct 3, 2026 | https://github.com/python/cpython/issues/158592#event-32402972324 |
| corona10 | https://github.com/corona10 |
| on Oct 4, 2026 | https://github.com/python/cpython/issues/158592#event-32425977315 |
| pythongh-158592: Skip reallocation when shrinking a small list | https://github.com/corona10/cpython/commit/0448de37e8b7d68b484d6f359967c906e0593b1d |
| pythongh-158592 | https://github.com/python/cpython/issues/158592 |
| 0448de3 | https://github.com/corona10/cpython/commit/0448de37e8b7d68b484d6f359967c906e0593b1d |
| pythongh-158592: Skip reallocation when shrinking a small list | https://github.com/corona10/cpython/commit/bbad8e9d3929e13f90d2c6d5fe262e5fbbb814af |
| pythongh-158592 | https://github.com/python/cpython/issues/158592 |
| bbad8e9 | https://github.com/corona10/cpython/commit/bbad8e9d3929e13f90d2c6d5fe262e5fbbb814af |
| Merge branch 'main' into pythongh-158592 | https://github.com/corona10/cpython/commit/f01205b7526614e75bb17decfafaf08de0cafb3a |
| pythongh-158592 | https://github.com/python/cpython/issues/158592 |
| f01205b | https://github.com/corona10/cpython/commit/f01205b7526614e75bb17decfafaf08de0cafb3a |
| gh-158592: Reallocate the list's array when deleting by index (gh-158602 | https://github.com/python/cpython/commit/12fbc90e063b118f489241ae9f806a9d694a5682 |
| gh-158592 | https://github.com/python/cpython/issues/158592 |
| gh-158602 | https://github.com/python/cpython/pull/158602 |
| 12fbc90 | https://github.com/python/cpython/commit/12fbc90e063b118f489241ae9f806a9d694a5682 |
| gh-158592: Skip reallocation when shrinking a small list (gh-158787) | https://github.com/python/cpython/commit/cdfdf7bb73a5751ecec7d2780e3f34ec60699fb1 |
| gh-158592 | https://github.com/python/cpython/issues/158592 |
| gh-158787 | https://github.com/python/cpython/pull/158787 |
| cdfdf7b | https://github.com/python/cpython/commit/cdfdf7bb73a5751ecec7d2780e3f34ec60699fb1 |
| [3.14] gh-158592: Skip reallocation when shrinking a small list (GH-1… | https://github.com/python/cpython/commit/2d2b37f99ae9b70cce847d15ce2b99334eb07931 |
| gh-158592 | https://github.com/python/cpython/issues/158592 |
| GH-1… | https://github.com/python/cpython/pull/158787 |
| 2d2b37f | https://github.com/python/cpython/commit/2d2b37f99ae9b70cce847d15ce2b99334eb07931 |
| [3.15] gh-158592: Skip reallocation when shrinking a small list (GH-1… | https://github.com/python/cpython/commit/e431a7a72312468d853f0e46353193d969017eca |
| gh-158592 | https://github.com/python/cpython/issues/158592 |
| GH-1… | https://github.com/python/cpython/pull/158787 |
| e431a7a | https://github.com/python/cpython/commit/e431a7a72312468d853f0e46353193d969017eca |
| https://github.com/corona10 |
| corona10 | https://github.com/corona10 |
| on Oct 10, 2026 | https://github.com/python/cpython/issues/158592#issuecomment-6091653056 |
| @x42005e1f | https://github.com/x42005e1f |
| corona10 | https://github.com/corona10 |
| completed | https://github.com/python/cpython/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted |
| on Oct 10, 2026 | https://github.com/python/cpython/issues/158592#event-32918285898 |
| Sign up for free | https://github.com/signup?return_to=https://github.com/python/cpython/issues/158592 |
| Sign in to comment | https://github.com/login?return_to=https://github.com/python/cpython/issues/158592 |
| 3.14bugs and security fixes | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.14%22 |
| 3.15bugs and security fixes | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.15%22 |
| 3.16new features, bugs and security fixes | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.16%22 |
| interpreter-core(Objects, Python, Grammar, and Parser dirs) | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22interpreter-core%22 |
| performancePerformance or resource usage | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22performance%22 |
| type-bugAn unexpected behavior, bug, or error | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22 |
| type-refactorCode refactoring (with no changes in behavior) | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-refactor%22 |
|
| 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 |