René's URL Explorer Experiment


Title: gh-136061: IDLE - modernize idlelib code in editor.Editor.load_extension methodname processing by johnzhou721 · Pull Request #134874 · python/cpython · GitHub

Open Graph Title: gh-136061: IDLE - modernize idlelib code in editor.Editor.load_extension methodname processing by johnzhou721 · Pull Request #134874 · python/cpython

X Title: gh-136061: IDLE - modernize idlelib code in editor.Editor.load_extension methodname processing by johnzhou721 · Pull Request #134874 · python/cpython

Description: A DOS by Quadratic complexity issue is fixed in idlelib. Part of (but does not fix) #134873. Issue: gh-134873 Issue: gh-136061

Open Graph Description: A DOS by Quadratic complexity issue is fixed in idlelib. Part of (but does not fix) #134873. Issue: gh-134873 Issue: gh-136061

X Description: A DOS by Quadratic complexity issue is fixed in idlelib. Part of (but does not fix) #134873. Issue: gh-134873 Issue: gh-136061

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

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:eb5d0ab7-65aa-34bc-af40-e9614adb6a21
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD022:136CDA:15563D2:1C3F821:6B01FD7F
html-safe-nonce54840db91a20a7492acaa7962259b42f2cc3fe33576f8ca9e562363763413795
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMDIyOjEzNkNEQToxNTU2M0QyOjFDM0Y4MjE6NkIwMUZEN0YiLCJ2aXNpdG9yX2lkIjoiMzk5MDY4OTUxMDc4MTQ4NDQxNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac6de9516433eef3031f36c39b2ca87d9a056eeeeae2d440e7bdcbb87fa2ea17c4
hovercard-subject-tagpull_request:2551036601
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/134874/files
twitter:imagehttps://avatars.githubusercontent.com/u/207368227?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/207368227?s=400&v=4
og:image:altA DOS by Quadratic complexity issue is fixed in idlelib. Part of (but does not fix) #134873. Issue: gh-134873 Issue: gh-136061
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
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/134874/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F134874%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%2F134874%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/134874/files
Reloadhttps://github.com/python/cpython/pull/134874/files
Reloadhttps://github.com/python/cpython/pull/134874/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
zwarehttps://github.com/zware
python:mainhttps://github.com/python/cpython/tree/main
johnzhou721:idledoshttps://github.com/johnzhou721/cpython/tree/idledos
Conversation 109 https://github.com/python/cpython/pull/134874
Commits 39 https://github.com/python/cpython/pull/134874/commits
Checks 56 https://github.com/python/cpython/pull/134874/checks
Files changed https://github.com/python/cpython/pull/134874/files
Please reload this pagehttps://github.com/python/cpython/pull/134874/files
gh-136061: IDLE - modernize idlelib code in editor.Editor.load_extension methodname processing https://github.com/python/cpython/pull/134874/files#top
Show all changes 39 commits https://github.com/python/cpython/pull/134874/files
e5f4260 fix a dos johnzhou721 May 29, 2025 https://github.com/python/cpython/pull/134874/commits/e5f42604e7976a34674062047f3caac6c5468891
aa5b5a8 📜🤖 Added by blurb_it. blurb-it[bot] May 29, 2025 https://github.com/python/cpython/pull/134874/commits/aa5b5a813fefe435fbde492c0a30324b3148bcac
edfa904 Update Misc/NEWS.d/next/Security/2025-05-29-03-24-18.gh-issue-134873.… johnzhou721 May 30, 2025 https://github.com/python/cpython/pull/134874/commits/edfa9042cf13e5d8d951119ffa53c70b423b04c1
2090baf another dos and also simplify johnzhou721 May 30, 2025 https://github.com/python/cpython/pull/134874/commits/2090bafb8f67a927703b025fa34ec347b5eb6b79
d2838a5 grumble johnzhou721 May 30, 2025 https://github.com/python/cpython/pull/134874/commits/d2838a589b9aa90d04bd50e40176e8812215324d
83bafff have condition johnzhou721 May 30, 2025 https://github.com/python/cpython/pull/134874/commits/83bafff6744aff00d78bf21a8e0ae71b7d30a38e
660fbd3 significant refactor johnzhou721 May 30, 2025 https://github.com/python/cpython/pull/134874/commits/660fbd388c9154ed7f2e56ee9902198f1599c1be
15f821a Update Lib/idlelib/editor.py johnzhou721 Jun 1, 2025 https://github.com/python/cpython/pull/134874/commits/15f821a8daaeecf24b548d8468f1de5a8cb6c232
6a59e50 rem blank line johnzhou721 Jun 1, 2025 https://github.com/python/cpython/pull/134874/commits/6a59e50c7155ad496d6ca9886b58436984f46e2d
546f19b write some tests johnzhou721 Jun 1, 2025 https://github.com/python/cpython/pull/134874/commits/546f19bdc2091e30f9670dbd2bec761f50d8c56d
605373b static johnzhou721 Jun 1, 2025 https://github.com/python/cpython/pull/134874/commits/605373b00b2c0415667a950c594c7404c9c86c1b
9625fcc linter johnzhou721 Jun 1, 2025 https://github.com/python/cpython/pull/134874/commits/9625fccc9203ff2c4f4eae23cf5f39f0ff2eada2
d0017b6 get this right johnzhou721 Jun 1, 2025 https://github.com/python/cpython/pull/134874/commits/d0017b6ede9fadb0904680b96e35f1c1b03b1a91
88c318c write more tests johnzhou721 Jun 1, 2025 https://github.com/python/cpython/pull/134874/commits/88c318c33dd001e35d00d662669bb8d4ebe7f08d
6323ab8 unconditionally remove last character, tests johnzhou721 Jun 1, 2025 https://github.com/python/cpython/pull/134874/commits/6323ab86d7c6f50ce9e205d30c768e8c6b1dc79a
01921fc more organized testing also speedup test johnzhou721 Jun 1, 2025 https://github.com/python/cpython/pull/134874/commits/01921fc070b43af2959f3168c1329783989450f0
5f9bb55 grumble johnzhou721 Jun 1, 2025 https://github.com/python/cpython/pull/134874/commits/5f9bb55e3d820176bc6bbd4474fdee726d971cc3
a087395 fix some tests and add some new ones johnzhou721 Jun 1, 2025 https://github.com/python/cpython/pull/134874/commits/a087395343b8938c00b6a459ac84a5f32d9d7d85
6604a73 fix everythign johnzhou721 Jun 1, 2025 https://github.com/python/cpython/pull/134874/commits/6604a73df52e113df95531757ca946dc08504649
3f0abfb precommit johnzhou721 Jun 1, 2025 https://github.com/python/cpython/pull/134874/commits/3f0abfb74605ad6fef8e4542f9c199d5ac6ca1c1
1e9bdfd Merge branch 'main' into idledos johnzhou721 Jun 12, 2025 https://github.com/python/cpython/pull/134874/commits/1e9bdfd60c8963b01d42cafb8479395e6763eee0
0b3c5b6 Merge branch 'main' into idledos johnzhou721 Jun 14, 2025 https://github.com/python/cpython/pull/134874/commits/0b3c5b6545a63270d3d27f60487db2c7595c1d2b
338e2fc Merge branch 'main' into idledos johnzhou721 Jun 15, 2025 https://github.com/python/cpython/pull/134874/commits/338e2fc38e6e8c0a9823e6b25b710a0422f72b30
7c92d9a Apply suggestions from code review terryjreedy Jun 28, 2025 https://github.com/python/cpython/pull/134874/commits/7c92d9a3e69b9b0a2c43d504e5e6832c02ff9612
e1fb6b9 Apply suggestions from code review terryjreedy Jun 28, 2025 https://github.com/python/cpython/pull/134874/commits/e1fb6b990f0fb216032c0691ba7c6e64c72dff6c
7b67419 Update Lib/idlelib/idle_test/test_editor.py terryjreedy Jun 28, 2025 https://github.com/python/cpython/pull/134874/commits/7b67419ccc627bec87691067e87e971b94fbdfb0
1037bea Delete Misc/NEWS.d/next/Security/2025-05-29-03-24-18.gh-issue-134873.… terryjreedy Jun 28, 2025 https://github.com/python/cpython/pull/134874/commits/1037bea492c7b08de0f428efd5acbb0ac7926f33
e505938 📜🤖 Added by blurb_it. blurb-it[bot] Jun 28, 2025 https://github.com/python/cpython/pull/134874/commits/e505938488d07b8c99391b636b25656f6c5b5508
283a27a Apply suggestions from code review johnzhou721 Jun 29, 2025 https://github.com/python/cpython/pull/134874/commits/283a27a6bd96d623ebb761d549b78fcb8c69953e
d58bd18 update news johnzhou721 Jun 29, 2025 https://github.com/python/cpython/pull/134874/commits/d58bd187a4bca0a1f25a9b0eaf094925a75ab2dc
560e06b Update News3.txt johnzhou721 Jun 29, 2025 https://github.com/python/cpython/pull/134874/commits/560e06b50468616ed98dc2287c581ae2b13892a0
a09c458 Delete Misc/NEWS.d/next/IDLE/2025-06-28-13-29-52.gh-issue-136061.EQYu… johnzhou721 Jun 30, 2025 https://github.com/python/cpython/pull/134874/commits/a09c45801325d4d1a47566d8306700ac549a99ed
a082fbf Update Lib/idlelib/News3.txt johnzhou721 Jun 30, 2025 https://github.com/python/cpython/pull/134874/commits/a082fbf920645e148a091103a89ef988de9f80f8
4c1268f Update Lib/idlelib/editor.py johnzhou721 Jun 30, 2025 https://github.com/python/cpython/pull/134874/commits/4c1268f0cb886e2c4ab6c756d5fa4a4707445792
ab8ef90 Merge branch 'main' into idledos johnzhou721 Jul 4, 2025 https://github.com/python/cpython/pull/134874/commits/ab8ef9099bdc7e6aaf6f58b511f9d33a046304ca
6961dd5 Merge branch 'main' into idledos johnzhou721 Nov 4, 2025 https://github.com/python/cpython/pull/134874/commits/6961dd50c8a19b8149b813a968aaba8a201899f7
c0ff375 Use a new 3.15 section johnzhou721 Nov 4, 2025 https://github.com/python/cpython/pull/134874/commits/c0ff37553415c01f15b8fe9e830fb6627dd8c01b
a54f475 add blanklines johnzhou721 Nov 4, 2025 https://github.com/python/cpython/pull/134874/commits/a54f4754817c1389dc0933abf85c17e8b3a4bbcf
b25a3f9 Merge branch 'main' into idledos zware Sep 3, 2026 https://github.com/python/cpython/pull/134874/commits/b25a3f93354477ce1b9336754bf229377629a6e7
Clear filters https://github.com/python/cpython/pull/134874/files
Please reload this pagehttps://github.com/python/cpython/pull/134874/files
Please reload this pagehttps://github.com/python/cpython/pull/134874/files
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L508
Lib/idlelib/editor.pyhttps://github.com/python/cpython/pull/134874/files#diff-0ebe4cdabcc123ccaae0e7cb5fcc54423a11b82957a8f972db70e98a1e847ae4
View file https://github.com/johnzhou721/cpython/blob/b25a3f93354477ce1b9336754bf229377629a6e7/Lib/idlelib/editor.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/134874/{{ revealButtonHref }}
https://github.com/python/cpython/pull/134874/files#diff-0ebe4cdabcc123ccaae0e7cb5fcc54423a11b82957a8f972db70e98a1e847ae4
Please reload this pagehttps://github.com/python/cpython/pull/134874/files
Please reload this pagehttps://github.com/python/cpython/pull/134874/files
https://github.com/python/cpython/pull/134874/files#diff-0ebe4cdabcc123ccaae0e7cb5fcc54423a11b82957a8f972db70e98a1e847ae4
Please reload this pagehttps://github.com/python/cpython/pull/134874/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.