| 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/commits(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:7fd9ba99-eb5d-eb07-5615-d7c672d39bf0 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A3DC:22DB35:49CDD56:5DE1F9B:6B0241FF |
| html-safe-nonce | aa6f429424c4e4e27a332731ea93da7f3ed4517825c2cacdf2483e7a1fb29304 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBM0RDOjIyREIzNTo0OUNERDU2OjVERTFGOUI6NkIwMjQxRkYiLCJ2aXNpdG9yX2lkIjoiNjI5MzUzMDc3MTY0Njk4ODc5OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 0179d3024e0a34208c26436b990a06ddcc997ea06688031366843968b28b6af7 |
| hovercard-subject-tag | pull_request:4959047225 |
| 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/commits |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/160127/commits |
| twitter:image | https://opengraph.githubassets.com/eb7e60840cfc2450ddd191f50f24fe34daf7b83671b8c29436fa200287bb928b/python/cpython/pull/160127 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/eb7e60840cfc2450ddd191f50f24fe34daf7b83671b8c29436fa200287bb928b/python/cpython/pull/160127 |
| og:image:alt | Issue: PyList_SetItem is ~2.7x slower per item on the free-threaded build #158660 |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vstinner |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-cache |
| 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 | pull-requests |
| Skip to content | https://github.com/python/cpython/pull/160127/commits#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F160127%2Fcommits |
| 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%2F160127%2Fcommits |
| 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%2Fcommits&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/160127/commits |
| Reload | https://github.com/python/cpython/pull/160127/commits |
| Reload | https://github.com/python/cpython/pull/160127/commits |
| 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 |
| vstinner | https://github.com/vstinner |
| python:main | https://github.com/python/cpython/tree/main |
| vstinner:list_writer | https://github.com/vstinner/cpython/tree/list_writer |
| Conversation | https://github.com/python/cpython/pull/160127 |
| Commits21 (21) | https://github.com/python/cpython/pull/160127/commits |
| Checks | https://github.com/python/cpython/pull/160127/checks |
| Files changed | https://github.com/python/cpython/pull/160127/files |
| gh-158660: Add PyListWriter C API | https://github.com/python/cpython/pull/160127/commits#top |
| vstinner | https://github.com/vstinner |
| python:main | https://github.com/python/cpython/tree/main |
| vstinner:list_writer | https://github.com/vstinner/cpython/tree/list_writer |
| gh-158660: Add `PyListWriter` C API | https://github.com/python/cpython/pull/160127/commits/79a2ae5c8972cbe6b673d492ff2ed66c90d62a09 |
| https://github.com/vstinner |
| vstinner | https://github.com/python/cpython/commits?author=vstinner |
| 79a2ae5 | https://github.com/python/cpython/pull/160127/commits/79a2ae5c8972cbe6b673d492ff2ed66c90d62a09 |
| https://github.com/python/cpython/tree/79a2ae5c8972cbe6b673d492ff2ed66c90d62a09 |
| Inline PyList_SET_ITEM() | https://github.com/python/cpython/pull/160127/commits/d8be30db3cfeb0640c05d8d377b32e178ef57c05 |
| https://github.com/vstinner |
| vstinner | https://github.com/python/cpython/commits?author=vstinner |
| d8be30d | https://github.com/python/cpython/pull/160127/commits/d8be30db3cfeb0640c05d8d377b32e178ef57c05 |
| https://github.com/python/cpython/tree/d8be30db3cfeb0640c05d8d377b32e178ef57c05 |
| Remove redundant test_list_writer() | https://github.com/python/cpython/pull/160127/commits/398c4b38844d5a721484c52729f0f90cefb88339 |
| https://github.com/vstinner |
| vstinner | https://github.com/python/cpython/commits?author=vstinner |
| 398c4b3 | https://github.com/python/cpython/pull/160127/commits/398c4b38844d5a721484c52729f0f90cefb88339 |
| https://github.com/python/cpython/tree/398c4b38844d5a721484c52729f0f90cefb88339 |
| Move _PyObject_GC_TRACK() to PyListWriter_Finish() | https://github.com/python/cpython/pull/160127/commits/3df6e01c30946b1f3755c871cb47a12f8917be8f |
| https://github.com/vstinner |
| vstinner | https://github.com/python/cpython/commits?author=vstinner |
| 3df6e01 | https://github.com/python/cpython/pull/160127/commits/3df6e01c30946b1f3755c871cb47a12f8917be8f |
| https://github.com/python/cpython/tree/3df6e01c30946b1f3755c871cb47a12f8917be8f |
| Merge branch 'main' into list_writer | https://github.com/python/cpython/pull/160127/commits/b0edd12fc5300211fe4ea3749d1754d532dea947 |
| https://github.com/vstinner |
| vstinner | https://github.com/python/cpython/commits?author=vstinner |
| b0edd12 | https://github.com/python/cpython/pull/160127/commits/b0edd12fc5300211fe4ea3749d1754d532dea947 |
| https://github.com/python/cpython/tree/b0edd12fc5300211fe4ea3749d1754d532dea947 |
| Clarify PyListWriter_ExtendArray() doc | https://github.com/python/cpython/pull/160127/commits/f9d714500a96208212f37f85ca803ccda5b74a61 |
| https://github.com/vstinner |
| vstinner | https://github.com/python/cpython/commits?author=vstinner |
| f9d7145 | https://github.com/python/cpython/pull/160127/commits/f9d714500a96208212f37f85ca803ccda5b74a61 |
| https://github.com/python/cpython/tree/f9d714500a96208212f37f85ca803ccda5b74a61 |
| Use list_new_prealloc() in PyListWriter_Create() | https://github.com/python/cpython/pull/160127/commits/d096f46540645aed0c13b52f0e1aa8ec8c4ecdf1 |
| https://github.com/vstinner |
| vstinner | https://github.com/python/cpython/commits?author=vstinner |
| d096f46 | https://github.com/python/cpython/pull/160127/commits/d096f46540645aed0c13b52f0e1aa8ec8c4ecdf1 |
| https://github.com/python/cpython/tree/d096f46540645aed0c13b52f0e1aa8ec8c4ecdf1 |
| Update PyListWriter_Create() comment | https://github.com/python/cpython/pull/160127/commits/a8c24ee4203a0d9efb22bdaed823d5802f21b731 |
| https://github.com/vstinner |
| vstinner | https://github.com/python/cpython/commits?author=vstinner |
| a8c24ee | https://github.com/python/cpython/pull/160127/commits/a8c24ee4203a0d9efb22bdaed823d5802f21b731 |
| https://github.com/python/cpython/tree/a8c24ee4203a0d9efb22bdaed823d5802f21b731 |
| Add PyListWriter_ExtendArraySteal() function | https://github.com/python/cpython/pull/160127/commits/31e5f1b8fb273fa9942cba538c03feadf93d36bb |
| https://github.com/vstinner |
| vstinner | https://github.com/python/cpython/commits?author=vstinner |
| 31e5f1b | https://github.com/python/cpython/pull/160127/commits/31e5f1b8fb273fa9942cba538c03feadf93d36bb |
| https://github.com/python/cpython/tree/31e5f1b8fb273fa9942cba538c03feadf93d36bb |
| Fix doc: use :term: not :ref: | https://github.com/python/cpython/pull/160127/commits/db8eb510bb8cfc9405671e9d0c1e400c0c909ac5 |
| https://github.com/vstinner |
| vstinner | https://github.com/python/cpython/commits?author=vstinner |
| db8eb51 | https://github.com/python/cpython/pull/160127/commits/db8eb510bb8cfc9405671e9d0c1e400c0c909ac5 |
| https://github.com/python/cpython/tree/db8eb510bb8cfc9405671e9d0c1e400c0c909ac5 |
| Avoid undefined behavior: memset() with size=0 | https://github.com/python/cpython/pull/160127/commits/da86200cc0952f9bdb19d6e4fd7ba2936e1c9568 |
| https://github.com/vstinner |
| vstinner | https://github.com/python/cpython/commits?author=vstinner |
| da86200 | https://github.com/python/cpython/pull/160127/commits/da86200cc0952f9bdb19d6e4fd7ba2936e1c9568 |
| https://github.com/python/cpython/tree/da86200cc0952f9bdb19d6e4fd7ba2936e1c9568 |
| Finish() shrinks the list | https://github.com/python/cpython/pull/160127/commits/748ac2477c7128547cb080c319abb2d1fb375d1f |
| https://github.com/vstinner |
| vstinner | https://github.com/python/cpython/commits?author=vstinner |
| 748ac24 | https://github.com/python/cpython/pull/160127/commits/748ac2477c7128547cb080c319abb2d1fb375d1f |
| https://github.com/python/cpython/tree/748ac2477c7128547cb080c319abb2d1fb375d1f |
| On error, Extend() restores the writer to its previous state | https://github.com/python/cpython/pull/160127/commits/9efaf876f162f4466b4c4b18d8453256134459c7 |
| https://github.com/vstinner |
| vstinner | https://github.com/python/cpython/commits?author=vstinner |
| 9efaf87 | https://github.com/python/cpython/pull/160127/commits/9efaf876f162f4466b4c4b18d8453256134459c7 |
| https://github.com/python/cpython/tree/9efaf876f162f4466b4c4b18d8453256134459c7 |
| Add PyListWriter_FromFormat() | https://github.com/python/cpython/pull/160127/commits/8404760ed8617f8513c33217459b472df65b8d1e |
| https://github.com/vstinner |
| vstinner | https://github.com/python/cpython/commits?author=vstinner |
| 8404760 | https://github.com/python/cpython/pull/160127/commits/8404760ed8617f8513c33217459b472df65b8d1e |
| https://github.com/python/cpython/tree/8404760ed8617f8513c33217459b472df65b8d1e |
| Fix undefined behavior in listwriter_extend_array() with nitem=0 | https://github.com/python/cpython/pull/160127/commits/9313299aa97517b6718e29319232b7db3e5722a1 |
| https://github.com/vstinner |
| vstinner | https://github.com/python/cpython/commits?author=vstinner |
| 9313299 | https://github.com/python/cpython/pull/160127/commits/9313299aa97517b6718e29319232b7db3e5722a1 |
| https://github.com/python/cpython/tree/9313299aa97517b6718e29319232b7db3e5722a1 |
| Inline listwriter_extend_array() | https://github.com/python/cpython/pull/160127/commits/8c7ec583a7f19f97f0e7b8dd64c1697e214dbfeb |
| https://github.com/vstinner |
| vstinner | https://github.com/python/cpython/commits?author=vstinner |
| 8c7ec58 | https://github.com/python/cpython/pull/160127/commits/8c7ec583a7f19f97f0e7b8dd64c1697e214dbfeb |
| https://github.com/python/cpython/tree/8c7ec583a7f19f97f0e7b8dd64c1697e214dbfeb |
| Add PyListWriter_FromBuffer() function | https://github.com/python/cpython/pull/160127/commits/e9dbc5e2f83e2fe1bc9eaa208633cb610815cc2e |
| https://github.com/vstinner |
| vstinner | https://github.com/python/cpython/commits?author=vstinner |
| e9dbc5e | https://github.com/python/cpython/pull/160127/commits/e9dbc5e2f83e2fe1bc9eaa208633cb610815cc2e |
| https://github.com/python/cpython/tree/e9dbc5e2f83e2fe1bc9eaa208633cb610815cc2e |
| Fix doc | https://github.com/python/cpython/pull/160127/commits/995f2d5bce1babf145bb7f7828d6ef4d5b38514e |
| https://github.com/vstinner |
| vstinner | https://github.com/python/cpython/commits?author=vstinner |
| 995f2d5 | https://github.com/python/cpython/pull/160127/commits/995f2d5bce1babf145bb7f7828d6ef4d5b38514e |
| https://github.com/python/cpython/tree/995f2d5bce1babf145bb7f7828d6ef4d5b38514e |
| Optimize PyListWriter_FromBuffer() | https://github.com/python/cpython/pull/160127/commits/c808cb7bf756238ea3118e8c80ef0f9a0ab5e2de |
| https://github.com/vstinner |
| vstinner | https://github.com/python/cpython/commits?author=vstinner |
| c808cb7 | https://github.com/python/cpython/pull/160127/commits/c808cb7bf756238ea3118e8c80ef0f9a0ab5e2de |
| https://github.com/python/cpython/tree/c808cb7bf756238ea3118e8c80ef0f9a0ab5e2de |
| Resize the list once in PyListWriter_FromBuffer() | https://github.com/python/cpython/pull/160127/commits/8e07fa1fa5038ffc0d995e1bd803858449d0e4a2 |
| https://github.com/vstinner |
| vstinner | https://github.com/python/cpython/commits?author=vstinner |
| 8e07fa1 | https://github.com/python/cpython/pull/160127/commits/8e07fa1fa5038ffc0d995e1bd803858449d0e4a2 |
| https://github.com/python/cpython/tree/8e07fa1fa5038ffc0d995e1bd803858449d0e4a2 |
| FromBuffer() tests compare to mview.tolist() and array.tolist() | https://github.com/python/cpython/pull/160127/commits/04c4d30ba83c0367ee5d0b48c9aea730cd786f25 |
| https://github.com/vstinner |
| vstinner | https://github.com/python/cpython/commits?author=vstinner |
| 04c4d30 | https://github.com/python/cpython/pull/160127/commits/04c4d30ba83c0367ee5d0b48c9aea730cd786f25 |
| https://github.com/python/cpython/tree/04c4d30ba83c0367ee5d0b48c9aea730cd786f25 |
|
| 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 |