| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:dcd02709-8faf-ae04-c948-364bb7904220 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9DFE:1FA9F9:1FBC0A:2A3C13:6A53FF10 |
| html-safe-nonce | f562037de67828ababdcdf80b0992ba54c6f55dc4a44073dea49f2e93c5a3bd5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5REZFOjFGQTlGOToxRkJDMEE6MkEzQzEzOjZBNTNGRjEwIiwidmlzaXRvcl9pZCI6IjY2OTI4ODQwMjkxODI4MzY0OTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e4f2f9139b8f998a8a0448e1eb1d6e8a992a8b1bb5915ebe3462a7a94cba4d65 |
| hovercard-subject-tag | pull_request:123042416 |
| 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/1860/files |
| twitter:image | https://avatars.githubusercontent.com/u/3659035?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/3659035?s=400&v=4 |
| og:image:alt | https://bugs.python.org/issue30455 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/1860/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F1860%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| 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 |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | 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 |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F1860%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/1860/files |
| Reload | https://github.com/python/cpython/pull/1860/files |
| Reload | https://github.com/python/cpython/pull/1860/files |
| Please reload this page | https://github.com/python/cpython/pull/1860/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/1860/files |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
35k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
73.8k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Code
| https://github.com/python/cpython |
|
Issues
5k+
| https://github.com/python/cpython/issues |
|
Pull requests
2.3k
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security and quality
0
| https://github.com/python/cpython/security |
|
Insights
| https://github.com/python/cpython/pulse |
|
Code
| https://github.com/python/cpython |
|
Issues
| https://github.com/python/cpython/issues |
|
Pull requests
| 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/pulse |
| 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 |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| python:master | https://github.com/python/cpython/tree/master |
| serhiy-storchaka:regen-token | https://github.com/serhiy-storchaka/cpython/tree/regen-token |
|
Conversation
9
| https://github.com/python/cpython/pull/1860 |
|
Commits
21
| https://github.com/python/cpython/pull/1860/commits |
|
Checks
0
| https://github.com/python/cpython/pull/1860/checks |
|
Files changed
| https://github.com/python/cpython/pull/1860/files |
| Please reload this page | https://github.com/python/cpython/pull/1860/files |
|
bpo-30455: Generate tokens related C code and docs from token.py.
| https://github.com/python/cpython/pull/1860/files#top |
|
Show all changes
21 commits
| https://github.com/python/cpython/pull/1860/files |
|
0b9c9c7
bpo-30455: Generate tokens related C code and docs from token.py.
serhiy-storchaka May 30, 2017
| https://github.com/python/cpython/pull/1860/commits/0b9c9c79563cc32a9d77e36068aa5f68b35f5dac |
|
de94fde
Merge branch 'master' into regen-token
serhiy-storchaka Jun 1, 2017
| https://github.com/python/cpython/pull/1860/commits/de94fde57a2575da087cb111446aef5a491f5385 |
|
3f78955
Generate regexpes from EXACT_TOKEN_TYPES.
serhiy-storchaka Jun 1, 2017
| https://github.com/python/cpython/pull/1860/commits/3f789556db26e212d7b4d4a7a66510a9ee44099f |
|
7a0a67a
Merge branch 'master' into regen-token
serhiy-storchaka Jul 3, 2017
| https://github.com/python/cpython/pull/1860/commits/7a0a67adf018fdbb5d3ddabd0c01c1322ee71f3c |
|
3c10bf6
Fix generating the documentation.
serhiy-storchaka Jul 3, 2017
| https://github.com/python/cpython/pull/1860/commits/3c10bf6def1d514a7dfee3030d6d7fcbe85295ce |
|
f116722
Add shebangs and executable bits.
serhiy-storchaka Jul 3, 2017
| https://github.com/python/cpython/pull/1860/commits/f116722191038617caad398c3a8d36a6c1076e69 |
|
812fc1f
Add generated file Parser/token_names.h.
serhiy-storchaka Jul 3, 2017
| https://github.com/python/cpython/pull/1860/commits/812fc1fc09d1ffcdd1814dcb9385bcc627ad8895 |
|
8258f49
Misc other fixes and enhancements.
serhiy-storchaka Jul 3, 2017
| https://github.com/python/cpython/pull/1860/commits/8258f498ba1fc00f94a62c9a7fd770fa26c89b6c |
|
b44aa6f
Merge branch 'master' into regen-token
serhiy-storchaka Apr 14, 2018
| https://github.com/python/cpython/pull/1860/commits/b44aa6fd33775975cb2efae76993cca4c14e61c4 |
|
e26b9c8
Move symbol.py generating code into a separate file.
serhiy-storchaka Apr 14, 2018
| https://github.com/python/cpython/pull/1860/commits/e26b9c8c77fc0691a97b4895c0bea2c93ab4a47f |
|
33e3724
Fix dependencies for pgen.
serhiy-storchaka Apr 14, 2018
| https://github.com/python/cpython/pull/1860/commits/33e37245ead494db51181065b213a82e550d07ce |
|
c9966b2
Add a hack for '<>'.
serhiy-storchaka Apr 14, 2018
| https://github.com/python/cpython/pull/1860/commits/c9966b2311fbf93e99f69c201d751df0d4707761 |
|
72bd747
Make _PyParser_TokenNames a const array.
serhiy-storchaka Apr 14, 2018
| https://github.com/python/cpython/pull/1860/commits/72bd747c1aee735822b17eb07515b76edfa5ff29 |
|
85f37db
Fix tests.
serhiy-storchaka Apr 14, 2018
| https://github.com/python/cpython/pull/1860/commits/85f37dbb4d4ca96fc5c4d312a1ed391f133a71e2 |
|
27ae82c
Merge branch 'master' into regen-token
serhiy-storchaka Oct 7, 2018
| https://github.com/python/cpython/pull/1860/commits/27ae82ceab4005797ab63ed87e866e8ac053198d |
|
7a38bf0
Remove ASYNC and AWAIT.
serhiy-storchaka Oct 7, 2018
| https://github.com/python/cpython/pull/1860/commits/7a38bf0abd72cd9f1c6515c7490a74ac30b60987 |
|
c917a42
Merge branch 'master' into regen-token
serhiy-storchaka Nov 6, 2018
| https://github.com/python/cpython/pull/1860/commits/c917a420d9f5319ffc1a439ce9c4e458696e2b95 |
|
bf167aa
Merge branch 'master' into regen-token
serhiy-storchaka Nov 18, 2018
| https://github.com/python/cpython/pull/1860/commits/bf167aa79d8e183a3fdea3c7d78491e3749d2e2f |
|
d5f6f0b
Use a single generating script.
serhiy-storchaka Nov 18, 2018
| https://github.com/python/cpython/pull/1860/commits/d5f6f0ba15e3214b7b7d9c0dc0cd58ac1aa5776e |
|
5b71cf4
Generate descriptions for punctuation and operators.
serhiy-storchaka Nov 18, 2018
| https://github.com/python/cpython/pull/1860/commits/5b71cf40e3e6294070389dfd25ed4abe41cb0bdd |
|
7746abe
Add generated files to .gitattributes.
serhiy-storchaka Nov 18, 2018
| https://github.com/python/cpython/pull/1860/commits/7746abea28beb89abec3425d041ebc222132f0b1 |
|
Clear filters
| https://github.com/python/cpython/pull/1860/files |
| Please reload this page | https://github.com/python/cpython/pull/1860/files |
| Please reload this page | https://github.com/python/cpython/pull/1860/files |
|
.gitattributes
| https://github.com/python/cpython/pull/1860/files#diff-618cd5b83d62060ba3d027e314a21ceaf75d36067ff820db126642944145393e |
|
token-list.inc
| https://github.com/python/cpython/pull/1860/files#diff-1ed1baa64fb81295770e7259a1d94c9497351df7520e00889e2a93731e86fe36 |
|
token.rst
| https://github.com/python/cpython/pull/1860/files#diff-025461bf9a1aa1b659556806a2e5ebd3e390d2db2fd27f921e6d180d7167b5f5 |
|
token.h
| https://github.com/python/cpython/pull/1860/files#diff-cec6ca68824b602026d6ca5d4fe48a3beabd534fd6bef3c016a135683b375517 |
|
symbol.py
| https://github.com/python/cpython/pull/1860/files#diff-129aed89283e8e00d8c548279eb04c2f2dd3dec9e6ee3405d389388f3a812f54 |
|
test_symbol.py
| https://github.com/python/cpython/pull/1860/files#diff-8ab9af51231d8cd3219cac9f7b28e1a2f942f0c8128189c27383710f433af5a0 |
|
test_tokenize.py
| https://github.com/python/cpython/pull/1860/files#diff-b07c4f10c75a22e102f114227a0a9b7b763ddda7a330109994e69b29540ea9bb |
|
token.py
| https://github.com/python/cpython/pull/1860/files#diff-4a711e782c0052faff4c5ffa0df266200f81ddb87687c9b7d92af70233d43dd6 |
|
tokenize.py
| https://github.com/python/cpython/pull/1860/files#diff-35c916ae2b7e488053d1c28da2a853790f2c0474e909c03950e49aa4203ea976 |
|
Makefile.pre.in
| https://github.com/python/cpython/pull/1860/files#diff-1f0a8db227d22005511b0d90f5339b97db345917b863954b3b3ccb9ec308767c |
|
2018-04-14-11-02-57.bpo-30455.ANRwjo.rst
| https://github.com/python/cpython/pull/1860/files#diff-c151eb8022a906bfb1bf120030113753af39ca00788cf10508b66f1c6707716b |
|
pythoncore.vcxproj
| https://github.com/python/cpython/pull/1860/files#diff-4295039788386c2986b811f2a6b59cf088be59822b24b4f1243c9e9b184f65fb |
|
pythoncore.vcxproj.filters
| https://github.com/python/cpython/pull/1860/files#diff-9e715828befc9c50c8b483b06d4923cda0db44f57d0c20e6a6d428ba60bfa0c5 |
|
token.c
| https://github.com/python/cpython/pull/1860/files#diff-62d6ae4a2b687e27352e989df2b323cee846a5f6d00a28e9705ba410ced1200c |
|
tokenizer.c
| https://github.com/python/cpython/pull/1860/files#diff-51e9668dbe1e270b3575209bcfcce9d3701ee0a145bdf7cef866209d9819f2ed |
|
generate_symbol_py.py
| https://github.com/python/cpython/pull/1860/files#diff-809ba73518736dc0330a1d343dc59e17a373e774ca6d074deacc91ab5fc29e55 |
|
generate_token.py
| https://github.com/python/cpython/pull/1860/files#diff-956da5f38407a241a358aca364d8b0904c25c1eee828bbb1d0b1e906496e199d |
| .gitattributes | https://github.com/python/cpython/pull/1860/files#diff-618cd5b83d62060ba3d027e314a21ceaf75d36067ff820db126642944145393e |
|
View file
| https://github.com/serhiy-storchaka/cpython/blob/7746abea28beb89abec3425d041ebc222132f0b1/.gitattributes |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/1860/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/1860/files#diff-618cd5b83d62060ba3d027e314a21ceaf75d36067ff820db126642944145393e |
| Doc/library/token-list.inc | https://github.com/python/cpython/pull/1860/files#diff-1ed1baa64fb81295770e7259a1d94c9497351df7520e00889e2a93731e86fe36 |
|
View file
| https://github.com/serhiy-storchaka/cpython/blob/7746abea28beb89abec3425d041ebc222132f0b1/Doc/library/token-list.inc |
|
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/1860/files |
| Doc/library/token.rst | https://github.com/python/cpython/pull/1860/files#diff-025461bf9a1aa1b659556806a2e5ebd3e390d2db2fd27f921e6d180d7167b5f5 |
|
View file
| https://github.com/serhiy-storchaka/cpython/blob/7746abea28beb89abec3425d041ebc222132f0b1/Doc/library/token.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/1860/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/1860/files#diff-025461bf9a1aa1b659556806a2e5ebd3e390d2db2fd27f921e6d180d7167b5f5 |
|
| https://github.com/python/cpython/pull/1860/files#diff-025461bf9a1aa1b659556806a2e5ebd3e390d2db2fd27f921e6d180d7167b5f5 |
| Include/token.h | https://github.com/python/cpython/pull/1860/files#diff-cec6ca68824b602026d6ca5d4fe48a3beabd534fd6bef3c016a135683b375517 |
|
View file
| https://github.com/serhiy-storchaka/cpython/blob/7746abea28beb89abec3425d041ebc222132f0b1/Include/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/1860/files |
| Lib/symbol.py | https://github.com/python/cpython/pull/1860/files#diff-129aed89283e8e00d8c548279eb04c2f2dd3dec9e6ee3405d389388f3a812f54 |
|
View file
| https://github.com/serhiy-storchaka/cpython/blob/7746abea28beb89abec3425d041ebc222132f0b1/Lib/symbol.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/1860/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/1860/files#diff-129aed89283e8e00d8c548279eb04c2f2dd3dec9e6ee3405d389388f3a812f54 |
|
| https://github.com/python/cpython/pull/1860/files#diff-129aed89283e8e00d8c548279eb04c2f2dd3dec9e6ee3405d389388f3a812f54 |
| Lib/test/test_symbol.py | https://github.com/python/cpython/pull/1860/files#diff-8ab9af51231d8cd3219cac9f7b28e1a2f942f0c8128189c27383710f433af5a0 |
|
View file
| https://github.com/serhiy-storchaka/cpython/blob/7746abea28beb89abec3425d041ebc222132f0b1/Lib/test/test_symbol.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/1860/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/1860/files#diff-8ab9af51231d8cd3219cac9f7b28e1a2f942f0c8128189c27383710f433af5a0 |
|
| https://github.com/python/cpython/pull/1860/files#diff-8ab9af51231d8cd3219cac9f7b28e1a2f942f0c8128189c27383710f433af5a0 |
|
| https://github.com/python/cpython/pull/1860/files#diff-8ab9af51231d8cd3219cac9f7b28e1a2f942f0c8128189c27383710f433af5a0 |
| Lib/test/test_tokenize.py | https://github.com/python/cpython/pull/1860/files#diff-b07c4f10c75a22e102f114227a0a9b7b763ddda7a330109994e69b29540ea9bb |
|
View file
| https://github.com/serhiy-storchaka/cpython/blob/7746abea28beb89abec3425d041ebc222132f0b1/Lib/test/test_tokenize.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/1860/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/1860/files#diff-b07c4f10c75a22e102f114227a0a9b7b763ddda7a330109994e69b29540ea9bb |
|
| https://github.com/python/cpython/pull/1860/files#diff-b07c4f10c75a22e102f114227a0a9b7b763ddda7a330109994e69b29540ea9bb |
| Please reload this page | https://github.com/python/cpython/pull/1860/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 |