René's URL Explorer Experiment


Title: bpo-44010: IDLE: colorize pattern-matching soft keywords by taleinat · Pull Request #25851 · python/cpython · GitHub

Open Graph Title: bpo-44010: IDLE: colorize pattern-matching soft keywords by taleinat · Pull Request #25851 · python/cpython

X Title: bpo-44010: IDLE: colorize pattern-matching soft keywords by taleinat · Pull Request #25851 · python/cpython

Description: This implements highlighting of the match, case and _ soft keywords, following the syntax defined in the docs to the extent reasonably possible within the framework of the current colorization method. https://bugs.python.org/issue44010

Open Graph Description: This implements highlighting of the match, case and _ soft keywords, following the syntax defined in the docs to the extent reasonably possible within the framework of the current colorization meth...

X Description: This implements highlighting of the match, case and _ soft keywords, following the syntax defined in the docs to the extent reasonably possible within the framework of the current colorization meth...

Opengraph URL: https://github.com/python/cpython/pull/25851

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,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-controllerpull_requests
route-actionfiles
fetch-noncev2:7040e27f-9854-a624-22a9-f10bc2487611
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE7F8:EAD6D:39A55E:4888A7:6B020BA6
html-safe-nonce588d26e077067079dc2815b2671ffaf2ba5a22cb479653b7437907b79aaa5d2d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFN0Y4OkVBRDZEOjM5QTU1RTo0ODg4QTc6NkIwMjBCQTYiLCJ2aXNpdG9yX2lkIjoiNjI2MzA2MTgxODM4MjYxNzUxMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac069075b1b10d3f709c4e611e2f912ae5c89b09bdc53b13690e24da5471c9fc21
hovercard-subject-tagpull_request:629106406
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/25851/files
twitter:imagehttps://avatars.githubusercontent.com/u/532281?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/532281?s=400&v=4
og:image:altThis implements highlighting of the match, case and _ soft keywords, following the syntax defined in the docs to the extent reasonably possible within the framework of the current colorization meth...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/25851/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F25851%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F25851%2Ffiles
Sign uphttps://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
Reloadhttps://github.com/python/cpython/pull/25851/files
Reloadhttps://github.com/python/cpython/pull/25851/files
Reloadhttps://github.com/python/cpython/pull/25851/files
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
taleinathttps://github.com/taleinat
python:mainhttps://github.com/python/cpython/tree/main
taleinat:idle-colorize-soft-keywordshttps://github.com/taleinat/cpython/tree/idle-colorize-soft-keywords
Conversation 71 https://github.com/python/cpython/pull/25851
Commits 31 https://github.com/python/cpython/pull/25851/commits
Checks 0 https://github.com/python/cpython/pull/25851/checks
Files changed https://github.com/python/cpython/pull/25851/files
Please reload this pagehttps://github.com/python/cpython/pull/25851/files
bpo-44010: IDLE: colorize pattern-matching soft keywords https://github.com/python/cpython/pull/25851/files#top
Show all changes 31 commits https://github.com/python/cpython/pull/25851/files
7f193fa modernize ColorDelegator.recolorize_main() code taleinat May 3, 2021 https://github.com/python/cpython/pull/25851/commits/7f193fa020eae96638569d232242a22873222bbe
1b4f728 add htest source example for pattern-matching taleinat May 3, 2021 https://github.com/python/cpython/pull/25851/commits/1b4f728efdb9b06cdeca2e2c48c010910be010f2
f977c50 initial implementation of pattern-matching soft-keyword colorization taleinat May 3, 2021 https://github.com/python/cpython/pull/25851/commits/f977c5039746a520d5045a72eed63724f52d41fc
df1c1a5 additional test cases for pattern-matching soft keyword colorization taleinat May 3, 2021 https://github.com/python/cpython/pull/25851/commits/df1c1a5ac53eef22d1afbec90d68df40f532896a
816ea8d remove dead code comment taleinat May 3, 2021 https://github.com/python/cpython/pull/25851/commits/816ea8d69e67ba976318142bb5b9bb1ec57ea8c1
146bf70 also ignore match/case immediately followed by )]} taleinat May 3, 2021 https://github.com/python/cpython/pull/25851/commits/146bf70c98912b741e1edfd8874b47edd477f246
ff463a6 simplify regexps using re.MULTILINE + more test cases taleinat May 3, 2021 https://github.com/python/cpython/pull/25851/commits/ff463a6e03c109a6eb034a1d4ee57a7455d962cc
9758870 refactor and mark all lone underscores in case patterns as keywords taleinat May 6, 2021 https://github.com/python/cpython/pull/25851/commits/975887020e1305ec45d427ce0f68ae4212090592
4adc318 fix comments in htest code sample taleinat May 6, 2021 https://github.com/python/cpython/pull/25851/commits/4adc3189315a3dba2ee5b466458148b53960901d
1d9ce7f handle case guard and capture patterns taleinat May 6, 2021 https://github.com/python/cpython/pull/25851/commits/1d9ce7f3f296d8d5a234974873f809d8b245ff57
21c2f79 use single example source in tests taleinat May 6, 2021 https://github.com/python/cpython/pull/25851/commits/21c2f79b01d301d562bf695de950f43dd3e4c89e
288fea3 fix highlighting in case guard and capture patterns taleinat May 6, 2021 https://github.com/python/cpython/pull/25851/commits/288fea305788429caeb5f07013fc894e2626a73b
2988693 add a NEWS entry taleinat May 9, 2021 https://github.com/python/cpython/pull/25851/commits/29886933cfa2e9b998c1ceeed573795a7bcc2c0c
c6015dc more tests for function defs taleinat May 9, 2021 https://github.com/python/cpython/pull/25851/commits/c6015dcb6dc1b4fc04b23c98a601bce3e9156f4f
68d41fe improved doc-strings and indentation as per code review taleinat May 9, 2021 https://github.com/python/cpython/pull/25851/commits/68d41fe3b5615d2bf9e165a107d6a7bc4b6e5921
12b7dd5 add test with long multi-line string at beginning of text taleinat May 9, 2021 https://github.com/python/cpython/pull/25851/commits/12b7dd557b996dfd35d23103ef13fe23bac9ad35
4bdbe2a remove unused import taleinat May 9, 2021 https://github.com/python/cpython/pull/25851/commits/4bdbe2add1f503eb87bb6d7e7c5d3b07c41cb8b4
d550c0f add more reference links in NEWS entry taleinat May 9, 2021 https://github.com/python/cpython/pull/25851/commits/d550c0fbae633206ffdad5f69c19ba8b66ec1391
ee98cf3 simplify handling of case softkw, and bring back specific handling of… taleinat May 10, 2021 https://github.com/python/cpython/pull/25851/commits/ee98cf32d1d81aa7a9025a6514d8f9d1585fbcd9
9a34c3b add test simulating typing and deleting taleinat May 10, 2021 https://github.com/python/cpython/pull/25851/commits/9a34c3baab85a0b55c32e4661040e9c1b63f0d07
25dfd1a fix highlighting of underscore in case, and its tests taleinat May 10, 2021 https://github.com/python/cpython/pull/25851/commits/25dfd1a95a3e1eb9efdf017c50c6053138af0fb9
1c87c8a avoid highlighting match and case in more scenarios (+ tests) taleinat May 10, 2021 https://github.com/python/cpython/pull/25851/commits/1c87c8affe277766bfca4e6161010d7f753e3035
78980da add info in idle help about soft keyword highlighting taleinat May 10, 2021 https://github.com/python/cpython/pull/25851/commits/78980dab8b07c58b20f98b49a9e3b89954527c11
5748063 clean up _assert_highlighting and add a doc-string taleinat May 10, 2021 https://github.com/python/cpython/pull/25851/commits/574806317ba657b1f4c4b460aa8c8ee968c45bca
6c0f5c2 refactor mocking of notify_range() with _assert_highlighting taleinat May 10, 2021 https://github.com/python/cpython/pull/25851/commits/6c0f5c22c4d2c7c9e037f994689364c664687e55
4b2b8d7 refactor another test to use _assert_highlighting() taleinat May 10, 2021 https://github.com/python/cpython/pull/25851/commits/4b2b8d7903598d1f4f43029571157bd2eb467e49
99a67f6 update coverage percentage at head of test file taleinat May 11, 2021 https://github.com/python/cpython/pull/25851/commits/99a67f6c4ac0bd1e1d43a0afed116f9b1e43b9b8
fae9905 Merge remote-tracking branch 'upstream/main' into idle-colorize-soft-… taleinat May 11, 2021 https://github.com/python/cpython/pull/25851/commits/fae99055729d48180f42dc190f1b37e8bee086af
b991d56 add a What's New entry taleinat May 11, 2021 https://github.com/python/cpython/pull/25851/commits/b991d56da7f3af9516f6a9cbbef837194898521d
8b4f201 improve wording in NEWS, What's New and docs, and update help.html taleinat May 11, 2021 https://github.com/python/cpython/pull/25851/commits/8b4f201875b2b5c92b24263d943c21cc25d13c2c
ae3e7e1 remove dead code, recently added but no longer used taleinat May 11, 2021 https://github.com/python/cpython/pull/25851/commits/ae3e7e157280d6844f7eea508f758c2533dfc966
Clear filters https://github.com/python/cpython/pull/25851/files
Please reload this pagehttps://github.com/python/cpython/pull/25851/files
Please reload this pagehttps://github.com/python/cpython/pull/25851/files
idle.rst https://github.com/python/cpython/pull/25851/files#diff-e2275d85823afd7ad0bd9eebef9bb28bd84ba901700249f0e8cfe6b04a41089e
3.10.rst https://github.com/python/cpython/pull/25851/files#diff-a68d5b2117cfed2ddb0b199e367c22ce9c1427d4a016277eafddb551ca4f250c
colorizer.py https://github.com/python/cpython/pull/25851/files#diff-154272cdabdcdab1877433c05273e346a29d5b3b3cd4a32b5a92d7e53df997d2
help.html https://github.com/python/cpython/pull/25851/files#diff-8567af0939d24eea2db452d6f5afc3fa694b60bd17067cb4c8a37914119e2c4d
test_colorizer.py https://github.com/python/cpython/pull/25851/files#diff-2b5309d8188d804bc91895eaafc9de920dc9f68aa28904254533e04aca14b031
2021-05-09-09-02-09.bpo-44010.TaLe9x.rst https://github.com/python/cpython/pull/25851/files#diff-447ddc16949f5cf8631d4736ed79bb5a53b33e20ab5095c78c211bf34ccdd570
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L507
Doc/library/idle.rsthttps://github.com/python/cpython/pull/25851/files#diff-e2275d85823afd7ad0bd9eebef9bb28bd84ba901700249f0e8cfe6b04a41089e
View file https://github.com/taleinat/cpython/blob/ae3e7e157280d6844f7eea508f758c2533dfc966/Doc/library/idle.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/25851/{{ revealButtonHref }}
https://github.com/python/cpython/pull/25851/files#diff-e2275d85823afd7ad0bd9eebef9bb28bd84ba901700249f0e8cfe6b04a41089e
https://github.com/python/cpython/pull/25851/files#diff-e2275d85823afd7ad0bd9eebef9bb28bd84ba901700249f0e8cfe6b04a41089e
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L116
Doc/whatsnew/3.10.rsthttps://github.com/python/cpython/pull/25851/files#diff-a68d5b2117cfed2ddb0b199e367c22ce9c1427d4a016277eafddb551ca4f250c
View file https://github.com/taleinat/cpython/blob/ae3e7e157280d6844f7eea508f758c2533dfc966/Doc/whatsnew/3.10.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/25851/{{ revealButtonHref }}
https://github.com/python/cpython/pull/25851/files#diff-a68d5b2117cfed2ddb0b199e367c22ce9c1427d4a016277eafddb551ca4f250c
https://github.com/python/cpython/pull/25851/files#diff-a68d5b2117cfed2ddb0b199e367c22ce9c1427d4a016277eafddb551ca4f250c
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L508
Lib/idlelib/colorizer.pyhttps://github.com/python/cpython/pull/25851/files#diff-154272cdabdcdab1877433c05273e346a29d5b3b3cd4a32b5a92d7e53df997d2
View file https://github.com/taleinat/cpython/blob/ae3e7e157280d6844f7eea508f758c2533dfc966/Lib/idlelib/colorizer.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/25851/{{ revealButtonHref }}
https://github.com/python/cpython/pull/25851/files#diff-154272cdabdcdab1877433c05273e346a29d5b3b3cd4a32b5a92d7e53df997d2
Please reload this pagehttps://github.com/python/cpython/pull/25851/files
https://github.com/python/cpython/pull/25851/files#diff-154272cdabdcdab1877433c05273e346a29d5b3b3cd4a32b5a92d7e53df997d2
Please reload this pagehttps://github.com/python/cpython/pull/25851/files
https://github.com/python/cpython/pull/25851/files#diff-154272cdabdcdab1877433c05273e346a29d5b3b3cd4a32b5a92d7e53df997d2
https://github.com/python/cpython/pull/25851/files#diff-154272cdabdcdab1877433c05273e346a29d5b3b3cd4a32b5a92d7e53df997d2
https://github.com/python/cpython/pull/25851/files#diff-154272cdabdcdab1877433c05273e346a29d5b3b3cd4a32b5a92d7e53df997d2
Please reload this pagehttps://github.com/python/cpython/pull/25851/files
https://github.com/python/cpython/pull/25851/files#diff-154272cdabdcdab1877433c05273e346a29d5b3b3cd4a32b5a92d7e53df997d2
Please reload this pagehttps://github.com/python/cpython/pull/25851/files
Please reload this pagehttps://github.com/python/cpython/pull/25851/files
https://github.com/python/cpython/pull/25851/files#diff-154272cdabdcdab1877433c05273e346a29d5b3b3cd4a32b5a92d7e53df997d2
https://github.com/python/cpython/pull/25851/files#diff-154272cdabdcdab1877433c05273e346a29d5b3b3cd4a32b5a92d7e53df997d2
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L508
Lib/idlelib/help.htmlhttps://github.com/python/cpython/pull/25851/files#diff-8567af0939d24eea2db452d6f5afc3fa694b60bd17067cb4c8a37914119e2c4d
View file https://github.com/taleinat/cpython/blob/ae3e7e157280d6844f7eea508f758c2533dfc966/Lib/idlelib/help.html
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/25851/{{ revealButtonHref }}
https://github.com/python/cpython/pull/25851/files#diff-8567af0939d24eea2db452d6f5afc3fa694b60bd17067cb4c8a37914119e2c4d
https://github.com/python/cpython/pull/25851/files#diff-8567af0939d24eea2db452d6f5afc3fa694b60bd17067cb4c8a37914119e2c4d
https://github.com/python/cpython/pull/25851/files#diff-8567af0939d24eea2db452d6f5afc3fa694b60bd17067cb4c8a37914119e2c4d
https://github.com/python/cpython/pull/25851/files#diff-8567af0939d24eea2db452d6f5afc3fa694b60bd17067cb4c8a37914119e2c4d
https://github.com/python/cpython/pull/25851/files#diff-8567af0939d24eea2db452d6f5afc3fa694b60bd17067cb4c8a37914119e2c4d
https://github.com/python/cpython/pull/25851/files#diff-8567af0939d24eea2db452d6f5afc3fa694b60bd17067cb4c8a37914119e2c4d
https://github.com/python/cpython/pull/25851/files#diff-8567af0939d24eea2db452d6f5afc3fa694b60bd17067cb4c8a37914119e2c4d
https://github.com/python/cpython/pull/25851/files#diff-8567af0939d24eea2db452d6f5afc3fa694b60bd17067cb4c8a37914119e2c4d
https://github.com/python/cpython/pull/25851/files#diff-8567af0939d24eea2db452d6f5afc3fa694b60bd17067cb4c8a37914119e2c4d
https://github.com/python/cpython/pull/25851/files#diff-8567af0939d24eea2db452d6f5afc3fa694b60bd17067cb4c8a37914119e2c4d
https://github.com/python/cpython/pull/25851/files#diff-8567af0939d24eea2db452d6f5afc3fa694b60bd17067cb4c8a37914119e2c4d
https://github.com/python/cpython/pull/25851/files#diff-8567af0939d24eea2db452d6f5afc3fa694b60bd17067cb4c8a37914119e2c4d
https://github.com/python/cpython/pull/25851/files#diff-8567af0939d24eea2db452d6f5afc3fa694b60bd17067cb4c8a37914119e2c4d
https://github.com/python/cpython/pull/25851/files#diff-8567af0939d24eea2db452d6f5afc3fa694b60bd17067cb4c8a37914119e2c4d
https://github.com/python/cpython/pull/25851/files#diff-8567af0939d24eea2db452d6f5afc3fa694b60bd17067cb4c8a37914119e2c4d
https://github.com/python/cpython/pull/25851/files#diff-8567af0939d24eea2db452d6f5afc3fa694b60bd17067cb4c8a37914119e2c4d
Please reload this pagehttps://github.com/python/cpython/pull/25851/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.