| 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:9d15d6c8-5039-965a-a0bd-dacd1da6a286 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BBF2:BB75:1375F2C:19C80A2:6B01F403 |
| html-safe-nonce | 1162ae162a93c2153b0400fc76ef4b5fd89cba57a67ac0b888ab2df6f6446398 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQkYyOkJCNzU6MTM3NUYyQzoxOUM4MEEyOjZCMDFGNDAzIiwidmlzaXRvcl9pZCI6IjQ1MzY1ODMyOTAwNzY5MTg3ODciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 6db016d67eff41efa9d626a447ebcb6917c7623a6e4d02b6dc6b484218f355e0 |
| hovercard-subject-tag | issue:2576206792 |
| 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/125196/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8e40a2ccd7aac268958d39610c62b615887accb3d82b5fe3a288ffa4ffb1f0b1/python/cpython/issues/125196 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8e40a2ccd7aac268958d39610c62b615887accb3d82b5fe3a288ffa4ffb1f0b1/python/cpython/issues/125196 |
| og:image:alt | Replace PyUnicode_New(), PyUnicode_CopyCharacters(), etc. with PyUnicodeWriter. It avoids creating incomplete Unicode strings: see Avoid creating incomplete/invalid objects. Linked PRs gh-125199 gh... |
| 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-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/125196#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F125196 |
| 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%2F125196 |
| 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/125196 |
| Reload | https://github.com/python/cpython/issues/125196 |
| Reload | https://github.com/python/cpython/issues/125196 |
| 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/125196 |
| New issue | https://github.com/login?return_to=https://github.com/python/cpython/issues/125196 |
| Use the public PyUnicodeWriter API | https://github.com/python/cpython/issues/125196#top |
| interpreter-core(Objects, Python, Grammar, and Parser dirs) | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22interpreter-core%22 |
| topic-C-API | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-C-API%22 |
| topic-unicode | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-unicode%22 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| on Oct 9, 2024 | https://github.com/python/cpython/issues/125196#issue-2576206792 |
| Avoid creating incomplete/invalid objects | https://github.com/capi-workgroup/api-evolution/issues/36 |
| gh-125196: Use PyUnicodeWriter in symtable.c #125199 | https://github.com/python/cpython/pull/125199 |
| gh-125196: Add PyUnicodeWriter_Fill() function #125201 | https://github.com/python/cpython/pull/125201 |
| gh-125196: Use PyUnicodeWriter for repr(list) #125202 | https://github.com/python/cpython/pull/125202 |
| gh-125196: Add fast-path for int in PyUnicodeWriter_WriteStr() #125214 | https://github.com/python/cpython/pull/125214 |
| gh-125196: Use PyUnicodeWriter for repr(structseq) #125219 | https://github.com/python/cpython/pull/125219 |
| gh-125196: Use PyUnicodeWriter for repr(contextvars.Token) #125220 | https://github.com/python/cpython/pull/125220 |
| gh-125196: PyUnicodeWriter_Discard(NULL) does nothing #125222 | https://github.com/python/cpython/pull/125222 |
| gh-125196: Add a free list to PyUnicodeWriter #125227 | https://github.com/python/cpython/pull/125227 |
| gh-125196: Use PyUnicodeWriter for repr(tuple) #125242 | https://github.com/python/cpython/pull/125242 |
| gh-125196: Use PyUnicodeWriter for JSON encoder #125249 | https://github.com/python/cpython/pull/125249 |
| gh-125196: Use PyUnicodeWriter in error handlers #125262 | https://github.com/python/cpython/pull/125262 |
| gh-125196: Use PyUnicodeWriter for repr(dict) #125270 | https://github.com/python/cpython/pull/125270 |
| gh-125196: Use PyUnicodeWriter in parser #125271 | https://github.com/python/cpython/pull/125271 |
| gh-125196: Use PyUnicodeWriter in HAMT #125458 | https://github.com/python/cpython/pull/125458 |
| gh-125196: Use PyUnicodeWriter in _io.StringIO #125528 | https://github.com/python/cpython/pull/125528 |
| Next | https://github.com/python/cpython/issues/125196?timeline_page=1 |
| vstinner | https://github.com/vstinner |
| on Oct 9, 2024 | https://github.com/python/cpython/issues/125196#event-14574715289 |
| pythongh-125196: Use PyUnicodeWriter in symtable.c | https://github.com/vstinner/cpython/commit/26a81a75fe7bc643385e1e0a082fe9ce4eeec40e |
| pythongh-125196 | https://github.com/python/cpython/issues/125196 |
| 26a81a7 | https://github.com/vstinner/cpython/commit/26a81a75fe7bc643385e1e0a082fe9ce4eeec40e |
| pythongh-125196: Use PyUnicodeWriter in symtable.c | https://github.com/vstinner/cpython/commit/7333a99b390a4b4565ac22d5ee18b02d33b819bf |
| pythongh-125196 | https://github.com/python/cpython/issues/125196 |
| 7333a99 | https://github.com/vstinner/cpython/commit/7333a99b390a4b4565ac22d5ee18b02d33b819bf |
| pythongh-125196: Add PyUnicodeWriter_Fill() function | https://github.com/vstinner/cpython/commit/1feb88f59f039507f74b81c8b48467005bea9fb9 |
| pythongh-125196 | https://github.com/python/cpython/issues/125196 |
| 1feb88f | https://github.com/vstinner/cpython/commit/1feb88f59f039507f74b81c8b48467005bea9fb9 |
| gh-125196: Use PyUnicodeWriter in symtable.c (#125199) | https://github.com/python/cpython/commit/9bda7750c2af779d3431f5ea120db91c6c83ec49 |
| gh-125196 | https://github.com/python/cpython/issues/125196 |
| #125199 | https://github.com/python/cpython/pull/125199 |
| 9bda775 | https://github.com/python/cpython/commit/9bda7750c2af779d3431f5ea120db91c6c83ec49 |
| pythongh-125196: Add PyUnicodeWriter_Fill() function | https://github.com/vstinner/cpython/commit/cbc84c3b1f0b7d13ac7b683bbb025fa09bc1b844 |
| pythongh-125196 | https://github.com/python/cpython/issues/125196 |
| cbc84c3 | https://github.com/vstinner/cpython/commit/cbc84c3b1f0b7d13ac7b683bbb025fa09bc1b844 |
| pythongh-125196: Add PyUnicodeWriter_Fill() function | https://github.com/vstinner/cpython/commit/a78c3c27dc84c843de31f42f365d060b5e71c37e |
| pythongh-125196 | https://github.com/python/cpython/issues/125196 |
| a78c3c2 | https://github.com/vstinner/cpython/commit/a78c3c27dc84c843de31f42f365d060b5e71c37e |
| pythongh-125196: Add PyUnicodeWriter_Fill() function | https://github.com/vstinner/cpython/commit/a2ca774de3cb9abf798a96cd818bcd920120030e |
| pythongh-125196 | https://github.com/python/cpython/issues/125196 |
| a2ca774 | https://github.com/vstinner/cpython/commit/a2ca774de3cb9abf798a96cd818bcd920120030e |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| on Oct 9, 2024 | https://github.com/python/cpython/issues/125196#issuecomment-2402729435 |
| b9a8ca0 | https://github.com/python/cpython/commit/b9a8ca0a6aa9251cb798f34f0c9d2cc95107eec6 |
| vstinner | https://github.com/vstinner |
| on Oct 9, 2024 | https://github.com/python/cpython/issues/125196#event-14575864471 |
| pythongh-125196: Use PyUnicodeWriter for repr(list) | https://github.com/vstinner/cpython/commit/8c33f9156279bb3c78f559a071c2330a9412945f |
| pythongh-125196 | https://github.com/python/cpython/issues/125196 |
| 8c33f91 | https://github.com/vstinner/cpython/commit/8c33f9156279bb3c78f559a071c2330a9412945f |
| pythongh-125196: Add fast-path for int in PyUnicodeWriter_WriteStr() | https://github.com/vstinner/cpython/commit/3400d0ad4c185dea84bff4aa8ba33b1599df0596 |
| pythongh-125196 | https://github.com/python/cpython/issues/125196 |
| 3400d0a | https://github.com/vstinner/cpython/commit/3400d0ad4c185dea84bff4aa8ba33b1599df0596 |
| pythongh-125196: Use PyUnicodeWriter for repr(structseq) | https://github.com/vstinner/cpython/commit/220667c6edf431d031afa01ec235b36f747bfff8 |
| pythongh-125196 | https://github.com/python/cpython/issues/125196 |
| 220667c | https://github.com/vstinner/cpython/commit/220667c6edf431d031afa01ec235b36f747bfff8 |
| pythongh-125196: Use PyUnicodeWriter for repr(contextvars.Token) | https://github.com/vstinner/cpython/commit/5b7be71c4ee64f55e18f6ae2b444c76800f3574f |
| pythongh-125196 | https://github.com/python/cpython/issues/125196 |
| 5b7be71 | https://github.com/vstinner/cpython/commit/5b7be71c4ee64f55e18f6ae2b444c76800f3574f |
| gh-125196: Use PyUnicodeWriter for repr(list) (#125202) | https://github.com/python/cpython/commit/52f70da19cf3c7198be37faeac233ef803080f6f |
| gh-125196 | https://github.com/python/cpython/issues/125196 |
| #125202 | https://github.com/python/cpython/pull/125202 |
| 52f70da | https://github.com/python/cpython/commit/52f70da19cf3c7198be37faeac233ef803080f6f |
| pythongh-125196: PyUnicodeWriter_Discard(NULL) does nothing | https://github.com/vstinner/cpython/commit/5e51ebf7e309b14dfcbf4fa249c79365840f22e3 |
| pythongh-125196 | https://github.com/python/cpython/issues/125196 |
| 5e51ebf | https://github.com/vstinner/cpython/commit/5e51ebf7e309b14dfcbf4fa249c79365840f22e3 |
| gh-125196: Add fast-path for int in PyUnicodeWriter_WriteStr() (#125214) | https://github.com/python/cpython/commit/ee3167b9787bf9424d5637a224233de775450231 |
| gh-125196 | https://github.com/python/cpython/issues/125196 |
| #125214 | https://github.com/python/cpython/pull/125214 |
| ee3167b | https://github.com/python/cpython/commit/ee3167b9787bf9424d5637a224233de775450231 |
| vstinner | https://github.com/vstinner |
| on Oct 10, 2024 | https://github.com/python/cpython/issues/125196#event-14593253499 |
| pythongh-125196: Use PyUnicodeWriter for repr(dict) | https://github.com/vstinner/cpython/commit/9f4379a12cec416153f6b8826f8ab9fe3b1b0ad6 |
| pythongh-125196 | https://github.com/python/cpython/issues/125196 |
| 9f4379a | https://github.com/vstinner/cpython/commit/9f4379a12cec416153f6b8826f8ab9fe3b1b0ad6 |
| pythongh-125196: Use PyUnicodeWriter for repr(dict) | https://github.com/vstinner/cpython/commit/36b8dbdf3f63f8cd7e50c12b9183a16248898fb3 |
| pythongh-125196 | https://github.com/python/cpython/issues/125196 |
| 36b8dbd | https://github.com/vstinner/cpython/commit/36b8dbdf3f63f8cd7e50c12b9183a16248898fb3 |
| pythongh-125196: Use PyUnicodeWriter in parser | https://github.com/vstinner/cpython/commit/c335dc05fa66224e212bce5c1915f865c5d3aef4 |
| pythongh-125196 | https://github.com/python/cpython/issues/125196 |
| c335dc0 | https://github.com/vstinner/cpython/commit/c335dc05fa66224e212bce5c1915f865c5d3aef4 |
| vstinner | https://github.com/vstinner |
| on Oct 10, 2024 | https://github.com/python/cpython/issues/125196#event-14593631477 |
| vstinner | https://github.com/vstinner |
| on Oct 10, 2024 | https://github.com/python/cpython/issues/125196#event-14595793122 |
| gh-125196: Use PyUnicodeWriter for repr(dict) (#125270) | https://github.com/python/cpython/commit/bb594e801b6a84823badbb85b88f0fc8b221d7bf |
| gh-125196 | https://github.com/python/cpython/issues/125196 |
| #125270 | https://github.com/python/cpython/pull/125270 |
| bb594e8 | https://github.com/python/cpython/commit/bb594e801b6a84823badbb85b88f0fc8b221d7bf |
| JacobCoffee | https://github.com/JacobCoffee |
| topic-unicode | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-unicode%22 |
| interpreter-core(Objects, Python, Grammar, and Parser dirs) | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22interpreter-core%22 |
| topic-C-API | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-C-API%22 |
| on Oct 10, 2024 | https://github.com/python/cpython/issues/125196#event-14597260360 |
| vstinner | https://github.com/vstinner |
| on Oct 12, 2024 | https://github.com/python/cpython/issues/125196#event-14616169105 |
| gh-125196: Use PyUnicodeWriter in parser (#125271) | https://github.com/python/cpython/commit/4a943c3251d1b3fdf50cfb9264ae74e5bc845c3c |
| gh-125196 | https://github.com/python/cpython/issues/125196 |
| #125271 | https://github.com/python/cpython/pull/125271 |
| 4a943c3 | https://github.com/python/cpython/commit/4a943c3251d1b3fdf50cfb9264ae74e5bc845c3c |
| pythongh-125196: Use PyUnicodeWriter in HAMT | https://github.com/vstinner/cpython/commit/df1de4eafbd27eed06b4e5c2e5483db76e2f7dc1 |
| pythongh-125196 | https://github.com/python/cpython/issues/125196 |
| df1de4e | https://github.com/vstinner/cpython/commit/df1de4eafbd27eed06b4e5c2e5483db76e2f7dc1 |
| pythongh-125196: Use PyUnicodeWriter in HAMT | https://github.com/vstinner/cpython/commit/8da0ca38804bccfd5f1c6b679931dae2136d6449 |
| pythongh-125196 | https://github.com/python/cpython/issues/125196 |
| 8da0ca3 | https://github.com/vstinner/cpython/commit/8da0ca38804bccfd5f1c6b679931dae2136d6449 |
| pythongh-125196: Use PyUnicodeWriter in HAMT | https://github.com/vstinner/cpython/commit/974e343fe839914146544ef7ed118c4fca677509 |
| pythongh-125196 | https://github.com/python/cpython/issues/125196 |
| 974e343 | https://github.com/vstinner/cpython/commit/974e343fe839914146544ef7ed118c4fca677509 |
| gh-125196: Use PyUnicodeWriter in HAMT (#125458) | https://github.com/python/cpython/commit/aa18fd55d575a04e3aa782fedcd08dced26676e0 |
| gh-125196 | https://github.com/python/cpython/issues/125196 |
| #125458 | https://github.com/python/cpython/pull/125458 |
| aa18fd5 | https://github.com/python/cpython/commit/aa18fd55d575a04e3aa782fedcd08dced26676e0 |
| pythongh-125196: Use PyUnicodeWriter in _io.StringIO | https://github.com/vstinner/cpython/commit/5e96bfb4b75e3aa28d84852d4a57a10cefc38e5b |
| pythongh-125196 | https://github.com/python/cpython/issues/125196 |
| 5e96bfb | https://github.com/vstinner/cpython/commit/5e96bfb4b75e3aa28d84852d4a57a10cefc38e5b |
| vstinner | https://github.com/vstinner |
| completed | https://github.com/python/cpython/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted |
| on Oct 25, 2024 | https://github.com/python/cpython/issues/125196#event-14868319130 |
| Sign up for free | https://github.com/signup?return_to=https://github.com/python/cpython/issues/125196 |
| Sign in to comment | https://github.com/login?return_to=https://github.com/python/cpython/issues/125196 |
| interpreter-core(Objects, Python, Grammar, and Parser dirs) | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22interpreter-core%22 |
| topic-C-API | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-C-API%22 |
| topic-unicode | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-unicode%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 |