| 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:b88bc287-ef67-ecaf-ea8b-ccb22d90fce4 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8B0A:1D5589:19AA9E1:222BD2B:6A52C865 |
| html-safe-nonce | 26d8c351bbcb6da2003db3c166b3616b2a805aff506ae7529564dff3ecb1c73d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QjBBOjFENTU4OToxOUFBOUUxOjIyMkJEMkI6NkE1MkM4NjUiLCJ2aXNpdG9yX2lkIjoiNDI2MTQ1OTUyNTE4MjkzNjA1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 1f3505b44e8d72f50b4765738f158110e856b542d5846afa06467d42f535d128 |
| hovercard-subject-tag | pull_request:376269445 |
| 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/18539/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/f26b44d41ec50e127ddf916a72e91a356f86effc1b9937d2981b48f517037600/python/cpython/pull/18539 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f26b44d41ec50e127ddf916a72e91a356f86effc1b9937d2981b48f517037600/python/cpython/pull/18539 |
| og:image:alt | Factor out similar code between hyperparser.py and editor.py for creating a Parser instance that is used for analysis.
Modify tests to use new function as it had been inline in hyperparser before.
... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | csabella |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/18539#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F18539 |
| 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%2F18539 |
|
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/18539 |
| Reload | https://github.com/python/cpython/pull/18539 |
| Reload | https://github.com/python/cpython/pull/18539 |
| Please reload this page | https://github.com/python/cpython/pull/18539 |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/18539 |
|
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 |
| csabella | https://github.com/csabella |
| python:main | https://github.com/python/cpython/tree/main |
| csabella:bpo39666 | https://github.com/csabella/cpython/tree/bpo39666 |
| Conversation | https://github.com/python/cpython/pull/18539 |
| Commits4 (4) | https://github.com/python/cpython/pull/18539/commits |
| Checks | https://github.com/python/cpython/pull/18539/checks |
| Files changed | https://github.com/python/cpython/pull/18539/files |
| gh-83847: IDLE - Refactor common code between hyperparser and editor | https://github.com/python/cpython/pull/18539#top |
| csabella | https://github.com/csabella |
| python:main | https://github.com/python/cpython/tree/main |
| csabella:bpo39666 | https://github.com/csabella/cpython/tree/bpo39666 |
|
| https://github.com/csabella |
| csabella | https://github.com/csabella |
| Feb 17, 2020 | https://github.com/python/cpython/pull/18539#issue-566461097 |
| Please reload this page | https://github.com/python/cpython/pull/18539 |
| IDLE: Factor out similar code in editor and hyperparser #83847 | https://github.com/python/cpython/issues/83847 |
| Please reload this page | https://github.com/python/cpython/pull/18539 |
| https://github.com/csabella |
| csabella | https://github.com/csabella |
| terryjreedy | https://github.com/terryjreedy |
| code owner | https://github.com/python/cpython/blob/4c1b6a6f4fc46add0097efb3026cf3f0c89f88a2/.github/CODEOWNERS#L109 |
| February 17, 2020 18:31 | https://github.com/python/cpython/pull/18539#event-3044693405 |
| https://github.com/the-knights-who-say-ni |
| the-knights-who-say-ni | https://github.com/the-knights-who-say-ni |
|
CLA signed
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22 |
| Feb 17, 2020 | https://github.com/python/cpython/pull/18539#event-3044693537 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
awaiting core review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22 |
| Feb 17, 2020 | https://github.com/python/cpython/pull/18539#event-3044693600 |
| https://github.com/terryjreedy |
| terryjreedy | https://github.com/terryjreedy |
|
Feb 18, 2020
| https://github.com/python/cpython/pull/18539#pullrequestreview-360057843 |
|
View reviewed changes
| https://github.com/python/cpython/pull/18539/files |
| terryjreedy | https://github.com/terryjreedy |
| Please reload this page | https://github.com/python/cpython/pull/18539 |
| https://github.com/python/cpython/pull/18539#pullrequestreview-360057843 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/18539 |
| Lib/idlelib/editor.py | https://github.com/python/cpython/pull/18539/files#diff-0ebe4cdabcc123ccaae0e7cb5fcc54423a11b82957a8f972db70e98a1e847ae4 |
| terryjreedy | https://github.com/terryjreedy |
| Feb 18, 2020 | https://github.com/python/cpython/pull/18539#discussion_r380443841 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/18539 |
| csabella | https://github.com/csabella |
| Feb 18, 2020 | https://github.com/python/cpython/pull/18539#discussion_r380627235 |
| Please reload this page | https://github.com/python/cpython/pull/18539 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/18539 |
| terryjreedy | https://github.com/terryjreedy |
| Jun 10, 2020 | https://github.com/python/cpython/pull/18539#discussion_r438165240 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/18539 |
| taleinat | https://github.com/taleinat |
| Oct 4, 2020 | https://github.com/python/cpython/pull/18539#discussion_r499253980 |
| Please reload this page | https://github.com/python/cpython/pull/18539 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| GH-15474 | https://github.com/python/cpython/pull/15474 |
| Please reload this page | https://github.com/python/cpython/pull/18539 |
| taleinat | https://github.com/taleinat |
| Oct 4, 2020 | https://github.com/python/cpython/pull/18539#discussion_r499254291 |
| Please reload this page | https://github.com/python/cpython/pull/18539 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/18539 |
| Lib/idlelib/idle_test/test_editor.py | https://github.com/python/cpython/pull/18539/files#diff-bac2e14f6c7aadf914b40304552d8e0689317d8ff639a9a497cff07f3972392a |
| Please reload this page | https://github.com/python/cpython/pull/18539 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
| Feb 18, 2020 | https://github.com/python/cpython/pull/18539#issuecomment-587271765 |
| Please reload this page | https://github.com/python/cpython/pull/18539 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
awaiting changes
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20changes%22 |
|
awaiting core review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22 |
| Feb 18, 2020 | https://github.com/python/cpython/pull/18539#event-3045639749 |
| https://github.com/csabella |
| csabella | https://github.com/csabella |
| Feb 18, 2020 | https://github.com/python/cpython/pull/18539#issuecomment-587442275 |
| Please reload this page | https://github.com/python/cpython/pull/18539 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
awaiting change review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20change%20review%22 |
|
awaiting changes
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20changes%22 |
| Feb 18, 2020 | https://github.com/python/cpython/pull/18539#event-3046988542 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
| Feb 18, 2020 | https://github.com/python/cpython/pull/18539#issuecomment-587442293 |
| @terryjreedy | https://github.com/terryjreedy |
| Please reload this page | https://github.com/python/cpython/pull/18539 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
| terryjreedy | https://github.com/terryjreedy |
| February 18, 2020 12:44 | https://github.com/python/cpython/pull/18539#event-3046988741 |
| https://github.com/csabella |
| csabella | https://github.com/csabella |
|
Jun 9, 2020
| https://github.com/python/cpython/pull/18539#ref-pullrequest-635200573 |
|
bpo-21756: fix IDLE's "show surrounding parens" for multi-line statements
#20753
| https://github.com/python/cpython/pull/20753 |
| csabella | https://github.com/csabella |
| June 9, 2020 19:17 | https://github.com/python/cpython/pull/18539#commits-pushed-01bf8ec |
|
| https://github.com/csabella |
| bpo-39666: Refactor common code between hyperparser and editor | https://github.com/python/cpython/pull/18539/commits/01bf8ec6d73e46d57773b655d0d999a0392df33f |
| 01bf8ec | https://github.com/python/cpython/pull/18539/commits/01bf8ec6d73e46d57773b655d0d999a0392df33f |
|
| https://github.com/csabella |
| Add tests for parser method. | https://github.com/python/cpython/pull/18539/commits/d58c2b9be03ac8188da830834096f186d0be72b3 |
| d58c2b9 | https://github.com/python/cpython/pull/18539/commits/d58c2b9be03ac8188da830834096f186d0be72b3 |
|
| https://github.com/csabella |
| Separate editor and shell tests | https://github.com/python/cpython/pull/18539/commits/d7c813a98e207ccd0cc892e453bf766a3f4766fc |
| d7c813a | https://github.com/python/cpython/pull/18539/commits/d7c813a98e207ccd0cc892e453bf766a3f4766fc |
|
| https://github.com/csabella |
| Merge master | https://github.com/python/cpython/pull/18539/commits/6a9eebd7c888615dd3980cf140ffb92b45ac046f |
| 6a9eebd | https://github.com/python/cpython/pull/18539/commits/6a9eebd7c888615dd3980cf140ffb92b45ac046f |
| https://github.com/csabella |
| csabella | https://github.com/csabella |
| force-pushed | https://github.com/python/cpython/compare/e20e1adfe7e00fb546f2ddd411542ac5c9d1bf53..6a9eebd7c888615dd3980cf140ffb92b45ac046f |
| e20e1ad | https://github.com/python/cpython/commit/e20e1adfe7e00fb546f2ddd411542ac5c9d1bf53 |
| 6a9eebd | https://github.com/python/cpython/commit/6a9eebd7c888615dd3980cf140ffb92b45ac046f |
|
Compare
| https://github.com/python/cpython/compare/e20e1adfe7e00fb546f2ddd411542ac5c9d1bf53..6a9eebd7c888615dd3980cf140ffb92b45ac046f |
| June 9, 2020 23:26 | https://github.com/python/cpython/pull/18539#event-3427197671 |
| https://github.com/terryjreedy |
| terryjreedy | https://github.com/terryjreedy |
| Jun 10, 2020 | https://github.com/python/cpython/pull/18539#issuecomment-642048989 |
| Please reload this page | https://github.com/python/cpython/pull/18539 |
| https://github.com/csabella |
| csabella | https://github.com/csabella |
|
Jun 13, 2020
| https://github.com/python/cpython/pull/18539#ref-pullrequest-638057077 |
|
gh-83847: IDLE - Refactor common code between hyperparser and editor
#20847
| https://github.com/python/cpython/pull/20847 |
| https://github.com/taleinat |
| taleinat | https://github.com/taleinat |
|
skip news
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22 |
| Oct 4, 2020 | https://github.com/python/cpython/pull/18539#event-3837625067 |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
|
topic-IDLE
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-IDLE |
| Apr 11, 2022 | https://github.com/python/cpython/pull/18539#event-6407689888 |
| https://github.com/ezio-melotti |
| ezio-melotti | https://github.com/ezio-melotti |
|
CLA signed
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22 |
| Jul 13, 2022 | https://github.com/python/cpython/pull/18539#event-6988864451 |
| https://github.com/terryjreedy |
| terryjreedy | https://github.com/terryjreedy |
| Nov 2, 2022 | https://github.com/python/cpython/pull/18539#event-7727264069 |
| https://github.com/terryjreedy |
| terryjreedy | https://github.com/terryjreedy |
| Nov 2, 2022 | https://github.com/python/cpython/pull/18539#event-7727267843 |
| https://github.com/terryjreedy |
| terryjreedy | https://github.com/terryjreedy |
|
topic-IDLE
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-IDLE |
| Nov 2, 2022 | https://github.com/python/cpython/pull/18539#event-7727269874 |
| https://github.com/terryjreedy |
| terryjreedy | https://github.com/terryjreedy |
| Nov 2, 2022 | https://github.com/python/cpython/pull/18539#issuecomment-1301287933 |
| #20847 | https://github.com/python/cpython/pull/20847 |
| Please reload this page | https://github.com/python/cpython/pull/18539 |
| https://github.com/terryjreedy |
| terryjreedy | https://github.com/terryjreedy |
| Nov 2, 2022 | https://github.com/python/cpython/pull/18539#event-7727331500 |
| https://github.com/csabella |
| csabella | https://github.com/csabella |
|
Jan 15, 2026
| https://github.com/python/cpython/pull/18539#ref-issue-1199030666 |
|
IDLE: Factor out similar code in editor and hyperparser
#83847
| https://github.com/python/cpython/issues/83847 |
| 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%2F18539 |
|
| https://github.com/taleinat |
|
taleinat
| https://github.com/taleinat |
|
| https://github.com/python/cpython/pull/18539/files/6a9eebd7c888615dd3980cf140ffb92b45ac046f |
|
| https://github.com/terryjreedy |
|
terryjreedy
| https://github.com/terryjreedy |
|
| https://github.com/terryjreedy |
|
terryjreedy
| https://github.com/terryjreedy |
|
awaiting change review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20change%20review%22 |
|
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/18539 |
|
| https://github.com/csabella |
|
| https://github.com/bedevere-bot |
|
| https://github.com/terryjreedy |
|
| https://github.com/taleinat |
|
| https://github.com/the-knights-who-say-ni |
|
| https://github.com/ezio-melotti |
|
| https://github.com/AlexWaygood |
|
| 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 |