| 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/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:83909733-26f8-bb44-a84b-6f914f780b68 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | AEE6:14700E:39A50F6:4933E58:6B01F703 |
| html-safe-nonce | fdb1a660f1fc7ca20f3d8b09d61465bd433aabbbf3ca4d789f65202bfdad38c5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRUU2OjE0NzAwRTozOUE1MEY2OjQ5MzNFNTg6NkIwMUY3MDMiLCJ2aXNpdG9yX2lkIjoiMTk5ODU5OTc3MjQxNTU4ODA5OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 0391d1f633b26a7934ddb8fc322c33a0e759f48089cd4fd14689eb7d5383c071 |
| hovercard-subject-tag | pull_request:4036560946 |
| 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 | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/153587/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/fb6fc2f49eefb4fb2586e34399317b64b343bd44c519183191bf5cb50144b7b4/python/cpython/pull/153587 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fb6fc2f49eefb4fb2586e34399317b64b343bd44c519183191bf5cb50144b7b4/python/cpython/pull/153587 |
| og:image:alt | This adds the decoded source store, offset spans, and an offset-only cursor as the foundation for moving tokenizer state away from buffer pointers.
For example:
// Own decoded bytes by line.
_PyTok... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | pablogsal |
| 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/153587#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F153587 |
| 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%2F153587 |
| 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%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/153587 |
| Reload | https://github.com/python/cpython/pull/153587 |
| Reload | https://github.com/python/cpython/pull/153587 |
| 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 |
| pablogsal | https://github.com/pablogsal |
| python:main | https://github.com/python/cpython/tree/main |
| pablogsal:gh-153569-tokenizer-offset-api | https://github.com/pablogsal/cpython/tree/gh-153569-tokenizer-offset-api |
| Conversation | https://github.com/python/cpython/pull/153587 |
| Commits3 (3) | https://github.com/python/cpython/pull/153587/commits |
| Checks | https://github.com/python/cpython/pull/153587/checks |
| Files changed | https://github.com/python/cpython/pull/153587/files |
| gh-153569: Add tokenizer source and cursor primitives | https://github.com/python/cpython/pull/153587#top |
| pablogsal | https://github.com/pablogsal |
| python:main | https://github.com/python/cpython/tree/main |
| pablogsal:gh-153569-tokenizer-offset-api | https://github.com/pablogsal/cpython/tree/gh-153569-tokenizer-offset-api |
|
| https://github.com/pablogsal |
| pablogsal | https://github.com/pablogsal |
| Jul 11, 2026 | https://github.com/python/cpython/pull/153587#issue-4863743160 |
| Please reload this page | https://github.com/python/cpython/pull/153587 |
| Base the tokenizer API on source offsets #153569 | https://github.com/python/cpython/issues/153569 |
| Please reload this page | https://github.com/python/cpython/pull/153587 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
Jul 11, 2026
| https://github.com/python/cpython/pull/153587#ref-issue-4862561196 |
|
Base the tokenizer API on source offsets
#153569
| https://github.com/python/cpython/issues/153569 |
| https://github.com/pablogsal |
| pablogsal | https://github.com/pablogsal |
| July 11, 2026 19:26 | https://github.com/python/cpython/pull/153587#event-27859632787 |
| https://github.com/pablogsal |
| pablogsal | https://github.com/pablogsal |
| AA-Turner | https://github.com/AA-Turner |
| emmatyping | https://github.com/emmatyping |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
| erlend-aasland | https://github.com/erlend-aasland |
| itamaro | https://github.com/itamaro |
| lysnikolaou | https://github.com/lysnikolaou |
| code owners | https://github.com/python/cpython/blob/a2d3787105d1f1a5efd0bcf5ccc6b17f5a17d8e8/.github/CODEOWNERS#L189 |
| July 11, 2026 19:26 | https://github.com/python/cpython/pull/153587#event-27859632980 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting core review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22 |
| Jul 11, 2026 | https://github.com/python/cpython/pull/153587#event-27859633666 |
| https://github.com/pablogsal |
| pablogsal | https://github.com/pablogsal |
| July 11, 2026 19:27 | https://github.com/python/cpython/pull/153587#event-27859653677 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting core review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22 |
| Jul 11, 2026 | https://github.com/python/cpython/pull/153587#event-27859654394 |
| https://github.com/pablogsal |
| pablogsal | https://github.com/pablogsal |
| force-pushed | https://github.com/python/cpython/compare/bce3caa6af63ab0f80c2d6194a8d4035688f3423..2682fe5435099b36550a614a76e45ddcceee6e30 |
| bce3caa | https://github.com/python/cpython/commit/bce3caa6af63ab0f80c2d6194a8d4035688f3423 |
| 2682fe5 | https://github.com/python/cpython/commit/2682fe5435099b36550a614a76e45ddcceee6e30 |
|
Compare
| https://github.com/python/cpython/compare/bce3caa6af63ab0f80c2d6194a8d4035688f3423..2682fe5435099b36550a614a76e45ddcceee6e30 |
| July 11, 2026 19:38 | https://github.com/python/cpython/pull/153587#event-27859844600 |
| https://github.com/pablogsal |
| pablogsal | https://github.com/pablogsal |
| Jul 11, 2026 | https://github.com/python/cpython/pull/153587#event-27859846766 |
| https://github.com/pablogsal |
| pablogsal | https://github.com/pablogsal |
|
skip news
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22 |
| Jul 11, 2026 | https://github.com/python/cpython/pull/153587#event-27860746608 |
| https://github.com/pablogsal |
| pablogsal | https://github.com/pablogsal |
| July 11, 2026 20:37 | https://github.com/python/cpython/pull/153587#event-27860746693 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting core review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22 |
| Jul 11, 2026 | https://github.com/python/cpython/pull/153587#event-27860747450 |
| https://github.com/pablogsal |
| pablogsal | https://github.com/pablogsal |
| force-pushed | https://github.com/python/cpython/compare/2682fe5435099b36550a614a76e45ddcceee6e30..1bf43aaa011ce26b4e5615a8016b74a2f83a57a6 |
| 2682fe5 | https://github.com/python/cpython/commit/2682fe5435099b36550a614a76e45ddcceee6e30 |
| 1bf43aa | https://github.com/python/cpython/commit/1bf43aaa011ce26b4e5615a8016b74a2f83a57a6 |
|
Compare
| https://github.com/python/cpython/compare/2682fe5435099b36550a614a76e45ddcceee6e30..1bf43aaa011ce26b4e5615a8016b74a2f83a57a6 |
| July 11, 2026 21:15 | https://github.com/python/cpython/pull/153587#event-27861284955 |
| https://github.com/maurycy |
| maurycy | https://github.com/maurycy |
|
Jul 11, 2026
| https://github.com/python/cpython/pull/153587#pullrequestreview-4678793032 |
|
View reviewed changes
| https://github.com/python/cpython/pull/153587/files |
| Parser/tokenizer/source.c | https://github.com/python/cpython/pull/153587/files#diff-d091331acd32f48897fc1503341091ee6066cbe2208017651deef042b32273da |
| Please reload this page | https://github.com/python/cpython/pull/153587 |
| https://github.com/pablogsal |
| pablogsal | https://github.com/pablogsal |
| July 18, 2026 12:55 | https://github.com/python/cpython/pull/153587#event-28158849909 |
| https://github.com/pablogsal |
| pablogsal | https://github.com/pablogsal |
| July 18, 2026 12:55 | https://github.com/python/cpython/pull/153587#event-28158852232 |
| https://github.com/pablogsal |
| pablogsal | https://github.com/pablogsal |
| force-pushed | https://github.com/python/cpython/compare/b19b995ca460e8d8799b7688451a365330062c99..0dea29d641fbd74d98ae67cab23e5efc7011d5ad |
| b19b995 | https://github.com/python/cpython/commit/b19b995ca460e8d8799b7688451a365330062c99 |
| 0dea29d | https://github.com/python/cpython/commit/0dea29d641fbd74d98ae67cab23e5efc7011d5ad |
|
Compare
| https://github.com/python/cpython/compare/b19b995ca460e8d8799b7688451a365330062c99..0dea29d641fbd74d98ae67cab23e5efc7011d5ad |
| July 18, 2026 13:56 | https://github.com/python/cpython/pull/153587#event-28159777489 |
| https://github.com/pablogsal |
| pablogsal | https://github.com/pablogsal |
| Aug 25, 2026 | https://github.com/python/cpython/pull/153587#issuecomment-5417765272 |
| @copilot | https://gh.io/copilot-coding-agent-docs |
| Please reload this page | https://github.com/python/cpython/pull/153587 |
| pablogsal | https://github.com/pablogsal |
| August 26, 2026 00:53 | https://github.com/python/cpython/pull/153587#commits-pushed-697e7dd |
|
| https://github.com/pablogsal |
| pythongh-153569 | https://github.com/python/cpython/issues/153569 |
| : Add tokenizer source and cursor primitives | https://github.com/python/cpython/pull/153587/commits/697e7dd9882062ea0778eea04a1cc5cd8588f02b |
| 697e7dd | https://github.com/python/cpython/pull/153587/commits/697e7dd9882062ea0778eea04a1cc5cd8588f02b |
|
| https://github.com/pablogsal |
| fixup! | https://github.com/python/cpython/pull/153587/commits/100072cdf64821afd159058d88e7ddce60268518 |
| pythongh-153569 | https://github.com/python/cpython/issues/153569 |
| : Add tokenizer source and cursor primitives | https://github.com/python/cpython/pull/153587/commits/100072cdf64821afd159058d88e7ddce60268518 |
| 100072c | https://github.com/python/cpython/pull/153587/commits/100072cdf64821afd159058d88e7ddce60268518 |
|
| https://github.com/pablogsal |
| fixup! | https://github.com/python/cpython/pull/153587/commits/4b0454f54481c76371da6057600a95714f17fe1f |
| pythongh-153569 | https://github.com/python/cpython/issues/153569 |
| : Add tokenizer source and cursor primitives | https://github.com/python/cpython/pull/153587/commits/4b0454f54481c76371da6057600a95714f17fe1f |
| 4b0454f | https://github.com/python/cpython/pull/153587/commits/4b0454f54481c76371da6057600a95714f17fe1f |
| https://github.com/pablogsal |
| pablogsal | https://github.com/pablogsal |
| force-pushed | https://github.com/python/cpython/compare/0dea29d641fbd74d98ae67cab23e5efc7011d5ad..4b0454f54481c76371da6057600a95714f17fe1f |
| 0dea29d | https://github.com/python/cpython/commit/0dea29d641fbd74d98ae67cab23e5efc7011d5ad |
| 4b0454f | https://github.com/python/cpython/commit/4b0454f54481c76371da6057600a95714f17fe1f |
|
Compare
| https://github.com/python/cpython/compare/0dea29d641fbd74d98ae67cab23e5efc7011d5ad..4b0454f54481c76371da6057600a95714f17fe1f |
| August 25, 2026 23:53 | https://github.com/python/cpython/pull/153587#event-30012872743 |
| https://github.com/pablogsal |
| pablogsal | https://github.com/pablogsal |
| f54fd2a | https://github.com/python/cpython/commit/f54fd2ab6e1f3e3e81a88be3d94ff9d5867b3b3a |
| Aug 26, 2026 | https://github.com/python/cpython/pull/153587#event-30039600214 |
| Please reload this page | https://github.com/python/cpython/pull/153587 |
| https://github.com/pablogsal |
| pablogsal | https://github.com/pablogsal |
| August 26, 2026 11:38 | https://github.com/python/cpython/pull/153587#event-30039602360 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting core review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22 |
| Aug 26, 2026 | https://github.com/python/cpython/pull/153587#event-30039603115 |
| clin1234 | https://github.com/clin1234 |
|
Aug 27, 2026
| https://github.com/python/cpython/pull/153587#ref-commit-ca50f8e |
|
| https://github.com/pablogsal |
|
| https://github.com/clin1234 |
| pythongh-153569 | https://github.com/python/cpython/issues/153569 |
| : Add tokenizer source and cursor primitives ( | https://github.com/clin1234/cpython/commit/ca50f8e226066b83c1269326d5b3211b217319d3 |
| python#1… | https://github.com/python/cpython/pull/153587 |
| ca50f8e | https://github.com/clin1234/cpython/commit/ca50f8e226066b83c1269326d5b3211b217319d3 |
| …53587 | https://github.com/python/cpython/pull/153587 |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F153587 |
|
| https://github.com/lysnikolaou |
|
lysnikolaou
| https://github.com/lysnikolaou |
|
| https://github.com/ericsnowcurrently |
|
ericsnowcurrently
| https://github.com/ericsnowcurrently |
|
| https://github.com/erlend-aasland |
|
erlend-aasland
| https://github.com/erlend-aasland |
|
| https://github.com/AA-Turner |
|
AA-Turner
| https://github.com/AA-Turner |
|
| https://github.com/emmatyping |
|
emmatyping
| https://github.com/emmatyping |
|
| https://github.com/itamaro |
|
itamaro
| https://github.com/itamaro |
|
| https://github.com/maurycy |
|
maurycy
| https://github.com/maurycy |
|
| https://github.com/python/cpython/pull/153587/files/1bf43aaa011ce26b4e5615a8016b74a2f83a57a6 |
| Please reload this page | https://github.com/python/cpython/pull/153587 |
|
skip news
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22 |
| Please reload this page | https://github.com/python/cpython/pull/153587 |
|
| https://github.com/pablogsal |
|
| https://github.com/maurycy |
|
| 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 |