| 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:6c1e3b61-6a2f-2061-8256-7667eadbfa0e |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E420:39FDE1:8F59F1:B3F67A:6B02172F |
| html-safe-nonce | 02cc4bf299eaacffaa1808aa8891270556b0fd3275e31a59959b8ed665cb1d48 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNDIwOjM5RkRFMTo4RjU5RjE6QjNGNjdBOjZCMDIxNzJGIiwidmlzaXRvcl9pZCI6IjY1NDE5NzQ3Mzk3MjcwMzAwNjMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | bf042e17d930eb7714982e564460a2d62ab051842ca45e5392ad243b3c7a40d6 |
| hovercard-subject-tag | pull_request:4157665921 |
| 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/154854/files |
| twitter:image | https://avatars.githubusercontent.com/u/2155800?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/2155800?s=400&v=4 |
| og:image:alt | Was:
$ echo '1 <> 2' | python -m tokenize
1,0-1,1: NUMBER '1'
1,2-1,4: OP '<>'
1,5-1,6: NUMBER '... |
| 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/154854/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F154854%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%2F154854%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/154854/files |
| Reload | https://github.com/python/cpython/pull/154854/files |
| Reload | https://github.com/python/cpython/pull/154854/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 |
| pablogsal | https://github.com/pablogsal |
| python:main | https://github.com/python/cpython/tree/main |
| skirpichev:save-python/151464 | https://github.com/skirpichev/cpython/tree/save-python/151464 |
|
Conversation
24
| https://github.com/python/cpython/pull/154854 |
|
Commits
14
| https://github.com/python/cpython/pull/154854/commits |
|
Checks
69
| https://github.com/python/cpython/pull/154854/checks |
|
Files changed
| https://github.com/python/cpython/pull/154854/files |
| Please reload this page | https://github.com/python/cpython/pull/154854/files |
|
gh-151464: exclude '<>' token from tokenize output
| https://github.com/python/cpython/pull/154854/files#top |
|
Show all changes
14 commits
| https://github.com/python/cpython/pull/154854/files |
|
73f2d90
gh-151464: exclude '<>' token from tokenize output
skirpichev Jul 29, 2026
| https://github.com/python/cpython/pull/154854/commits/73f2d909341f74ea528cce6efc37580635cf545d |
|
c53a17f
+1
skirpichev Jul 29, 2026
| https://github.com/python/cpython/pull/154854/commits/c53a17ff508989d9f644d119b5d3fa6ea44b2e71 |
|
e525b8f
Merge branch 'master' into save-python/151464
skirpichev Aug 10, 2026
| https://github.com/python/cpython/pull/154854/commits/e525b8fec0b9c4d851298592d53b48237f09ed4f |
|
f4dd644
address review: lowercase and move invalid rule
skirpichev Aug 11, 2026
| https://github.com/python/cpython/pull/154854/commits/f4dd6443625274c7c157688699cb5257f319b223 |
|
ba5843d
address review: news
skirpichev Aug 11, 2026
| https://github.com/python/cpython/pull/154854/commits/ba5843d56a176371ceea68c138ced9a344cde02e |
|
9ea138f
address review: move test_guido_as_bdfl_ineq_tokens()
skirpichev Aug 11, 2026
| https://github.com/python/cpython/pull/154854/commits/9ea138fced4c4a95d908c059dbd9481f518514ca |
|
3f9c57e
address review: revert _PyTokenizer_From* changes
skirpichev Aug 11, 2026
| https://github.com/python/cpython/pull/154854/commits/3f9c57e2299d1090ebbe897e21fdc652afaf0659 |
|
a966092
Merge branch 'main' into save-python/151464
skirpichev Aug 21, 2026
| https://github.com/python/cpython/pull/154854/commits/a9660929d85403ae4ea8904dd8af3ec51ec57a3f |
|
d81b19c
Merge branch 'master' into save-python/151464
skirpichev Sep 1, 2026
| https://github.com/python/cpython/pull/154854/commits/d81b19cd6db077b433a7b3b379f74b06bfccd9cc |
|
3ff8480
+ revert unrelated change
skirpichev Sep 1, 2026
| https://github.com/python/cpython/pull/154854/commits/3ff84804c8b8bbfdb0c9cd9c906753c016d51531 |
|
d134772
Merge branch 'master' into save-python/151464
skirpichev Sep 15, 2026
| https://github.com/python/cpython/pull/154854/commits/d1347723230f7064417d4d0777b517ae6ae61b78 |
|
e1fc4cc
Merge branch 'master' into save-python/151464
skirpichev Sep 19, 2026
| https://github.com/python/cpython/pull/154854/commits/e1fc4cc63e5864bc11ee994b38fa083bc792cbc6 |
|
8b5f1e4
address review: remove whatsnew entry
skirpichev Sep 19, 2026
| https://github.com/python/cpython/pull/154854/commits/8b5f1e42934cc98d06e71709bd8386479411bfd0 |
|
76b2ee6
Merge branch 'master' into save-python/151464
skirpichev Sep 25, 2026
| https://github.com/python/cpython/pull/154854/commits/76b2ee63ceaa1b45f5a3b99fef64ad8808ff2ed6 |
|
Clear filters
| https://github.com/python/cpython/pull/154854/files |
| Please reload this page | https://github.com/python/cpython/pull/154854/files |
| Please reload this page | https://github.com/python/cpython/pull/154854/files |
|
python.gram
| https://github.com/python/cpython/pull/154854/files#diff-2973ca53337859793077e9bdc1a1623063379f0fdfcb788836fd82ebb66b763b |
|
pycore_token.h
| https://github.com/python/cpython/pull/154854/files#diff-9350d3dff2681ea6bd266b894e523a16273967e4bb8eb47d9fa1f46b2d351791 |
|
test_syntax.py
| https://github.com/python/cpython/pull/154854/files#diff-985c9f5237c42a342864f5cbdb35dc56bc0017f44d5dfa561ecbef72e4a7ad4f |
|
test_tokenize.py
| https://github.com/python/cpython/pull/154854/files#diff-b07c4f10c75a22e102f114227a0a9b7b763ddda7a330109994e69b29540ea9bb |
|
2026-07-29-08-43-14.gh-issue-151464.o_mtmz.rst
| https://github.com/python/cpython/pull/154854/files#diff-16fbc70b0e239f230ff41f905863519eef91b7ceaebb4196ea4d969d7b155a69 |
|
action_helpers.c
| https://github.com/python/cpython/pull/154854/files#diff-36e14ad6a0e6109f6d47a0bdf480a2d5a86135044d2f96766b280062922009e7 |
|
lexer.c
| https://github.com/python/cpython/pull/154854/files#diff-4903ddce642a378ef03f37f72332cf1f5acb5bb0c6247669145fc3d8ea7cd43e |
|
state.h
| https://github.com/python/cpython/pull/154854/files#diff-9efe28cd84a24747de9e363846c7d9255a3d3a7073896547f570bf91b4fd3667 |
|
parser.c
| https://github.com/python/cpython/pull/154854/files#diff-6d39440cedc67d1ce7a0586bfb6ecb8483803448a9c93f3fae3ad0e2260e29f7 |
|
pegen.c
| https://github.com/python/cpython/pull/154854/files#diff-ec9a9d08c5b1d518997db0f5b4795c528a41efc35507d6c2a384eee43f047cb7 |
|
token.c
| https://github.com/python/cpython/pull/154854/files#diff-62d6ae4a2b687e27352e989df2b323cee846a5f6d00a28e9705ba410ced1200c |
|
generate_token.py
| https://github.com/python/cpython/pull/154854/files#diff-019eb03436a8f2dd2bbd1446f8e5b0c98ab2b96beff749ff2d4877e9ed2cc4e5 |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L308 |
| Grammar/python.gram | https://github.com/python/cpython/pull/154854/files#diff-2973ca53337859793077e9bdc1a1623063379f0fdfcb788836fd82ebb66b763b |
|
View file
| https://github.com/skirpichev/cpython/blob/76b2ee63ceaa1b45f5a3b99fef64ad8808ff2ed6/Grammar/python.gram |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/154854/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/154854/files#diff-2973ca53337859793077e9bdc1a1623063379f0fdfcb788836fd82ebb66b763b |
|
| https://github.com/python/cpython/pull/154854/files#diff-2973ca53337859793077e9bdc1a1623063379f0fdfcb788836fd82ebb66b763b |
|
| https://github.com/python/cpython/pull/154854/files#diff-2973ca53337859793077e9bdc1a1623063379f0fdfcb788836fd82ebb66b763b |
| Include/internal/pycore_token.h | https://github.com/python/cpython/pull/154854/files#diff-9350d3dff2681ea6bd266b894e523a16273967e4bb8eb47d9fa1f46b2d351791 |
|
View file
| https://github.com/skirpichev/cpython/blob/76b2ee63ceaa1b45f5a3b99fef64ad8808ff2ed6/Include/internal/pycore_token.h |
|
Open in desktop
| https://desktop.github.com |
| how customized files appear on GitHub | https://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github |
| Please reload this page | https://github.com/python/cpython/pull/154854/files |
| Lib/test/test_syntax.py | https://github.com/python/cpython/pull/154854/files#diff-985c9f5237c42a342864f5cbdb35dc56bc0017f44d5dfa561ecbef72e4a7ad4f |
|
View file
| https://github.com/skirpichev/cpython/blob/76b2ee63ceaa1b45f5a3b99fef64ad8808ff2ed6/Lib/test/test_syntax.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/154854/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/154854/files#diff-985c9f5237c42a342864f5cbdb35dc56bc0017f44d5dfa561ecbef72e4a7ad4f |
|
| https://github.com/python/cpython/pull/154854/files#diff-985c9f5237c42a342864f5cbdb35dc56bc0017f44d5dfa561ecbef72e4a7ad4f |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L311 |
| Lib/test/test_tokenize.py | https://github.com/python/cpython/pull/154854/files#diff-b07c4f10c75a22e102f114227a0a9b7b763ddda7a330109994e69b29540ea9bb |
|
View file
| https://github.com/skirpichev/cpython/blob/76b2ee63ceaa1b45f5a3b99fef64ad8808ff2ed6/Lib/test/test_tokenize.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/154854/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/154854/files#diff-b07c4f10c75a22e102f114227a0a9b7b763ddda7a330109994e69b29540ea9bb |
|
| https://github.com/python/cpython/pull/154854/files#diff-b07c4f10c75a22e102f114227a0a9b7b763ddda7a330109994e69b29540ea9bb |
| Misc/NEWS.d/next/Core_and_Builtins/2026-07-29-08-43-14.gh-issue-151464.o_mtmz.rst | https://github.com/python/cpython/pull/154854/files#diff-16fbc70b0e239f230ff41f905863519eef91b7ceaebb4196ea4d969d7b155a69 |
|
View file
| https://github.com/skirpichev/cpython/blob/76b2ee63ceaa1b45f5a3b99fef64ad8808ff2ed6/Misc/NEWS.d/next/Core_and_Builtins/2026-07-29-08-43-14.gh-issue-151464.o_mtmz.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/154854/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L313 |
| Parser/action_helpers.c | https://github.com/python/cpython/pull/154854/files#diff-36e14ad6a0e6109f6d47a0bdf480a2d5a86135044d2f96766b280062922009e7 |
|
View file
| https://github.com/skirpichev/cpython/blob/76b2ee63ceaa1b45f5a3b99fef64ad8808ff2ed6/Parser/action_helpers.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/154854/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/154854/files#diff-36e14ad6a0e6109f6d47a0bdf480a2d5a86135044d2f96766b280062922009e7 |
|
| https://github.com/python/cpython/pull/154854/files#diff-36e14ad6a0e6109f6d47a0bdf480a2d5a86135044d2f96766b280062922009e7 |
|
| https://github.com/python/cpython/pull/154854/files#diff-36e14ad6a0e6109f6d47a0bdf480a2d5a86135044d2f96766b280062922009e7 |
|
| https://github.com/python/cpython/pull/154854/files#diff-36e14ad6a0e6109f6d47a0bdf480a2d5a86135044d2f96766b280062922009e7 |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L313 |
| Parser/lexer/lexer.c | https://github.com/python/cpython/pull/154854/files#diff-4903ddce642a378ef03f37f72332cf1f5acb5bb0c6247669145fc3d8ea7cd43e |
|
View file
| https://github.com/skirpichev/cpython/blob/76b2ee63ceaa1b45f5a3b99fef64ad8808ff2ed6/Parser/lexer/lexer.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/154854/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/154854/files#diff-4903ddce642a378ef03f37f72332cf1f5acb5bb0c6247669145fc3d8ea7cd43e |
|
| https://github.com/python/cpython/pull/154854/files#diff-4903ddce642a378ef03f37f72332cf1f5acb5bb0c6247669145fc3d8ea7cd43e |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L313 |
| Parser/lexer/state.h | https://github.com/python/cpython/pull/154854/files#diff-9efe28cd84a24747de9e363846c7d9255a3d3a7073896547f570bf91b4fd3667 |
|
View file
| https://github.com/skirpichev/cpython/blob/76b2ee63ceaa1b45f5a3b99fef64ad8808ff2ed6/Parser/lexer/state.h |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/154854/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/154854/files#diff-9efe28cd84a24747de9e363846c7d9255a3d3a7073896547f570bf91b4fd3667 |
|
| https://github.com/python/cpython/pull/154854/files#diff-9efe28cd84a24747de9e363846c7d9255a3d3a7073896547f570bf91b4fd3667 |
| Please reload this page | https://github.com/python/cpython/pull/154854/files |
| Please reload this page | https://github.com/python/cpython/pull/154854/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 |