René's URL Explorer Experiment


Title: bpo-35196: optimize Squeezer's write() interception by taleinat · Pull Request #10454 · python/cpython · GitHub

Open Graph Title: bpo-35196: optimize Squeezer's write() interception by taleinat · Pull Request #10454 · python/cpython

X Title: bpo-35196: optimize Squeezer's write() interception by taleinat · Pull Request #10454 · python/cpython

Description: This also cleans up and improves the testing of count_lines(), which has been significantly changed as part of this optimization. https://bugs.python.org/issue35196

Open Graph Description: This also cleans up and improves the testing of count_lines(), which has been significantly changed as part of this optimization. https://bugs.python.org/issue35196

X Description: This also cleans up and improves the testing of count_lines(), which has been significantly changed as part of this optimization. https://bugs.python.org/issue35196

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:d31e6d8b-e2bf-5742-e941-e13f70a89788
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDF8C:383777:819EB8E:B5AF6C1:6A504B7C
html-safe-nonceb949a0bd9bde50784409392eb63f972a21789a045ca96425607f3c35f20d91b2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERjhDOjM4Mzc3Nzo4MTlFQjhFOkI1QUY2QzE6NkE1MDRCN0MiLCJ2aXNpdG9yX2lkIjoiNTgzNTcyNDY4ODUyMTcxMDQ2MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacd026498d7672bca0a513ddb4ac4546256b97f4c4e13f32fe4285c93ec74f978e
hovercard-subject-tagpull_request:229915112
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/10454/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 also cleans up and improves the testing of count_lines(), which has been significantly changed as part of this optimization. https://bugs.python.org/issue35196
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noned6dc8294eb500fa36bbc57472d61fe87c522f9c3c1d64f70f4926f66a66a7efb
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
release5741a45fe07e5f377d0d4c524a92e3056acc51bb
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/10454/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F10454%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://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%2F10454%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
Reloadhttps://github.com/python/cpython/pull/10454/files
Reloadhttps://github.com/python/cpython/pull/10454/files
Reloadhttps://github.com/python/cpython/pull/10454/files
Please reload this pagehttps://github.com/python/cpython/pull/10454/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/10454/files
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 34.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.6k 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 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:masterhttps://github.com/python/cpython/tree/master
taleinat:bpo-35196/optimize_squeezer_writehttps://github.com/taleinat/cpython/tree/bpo-35196/optimize_squeezer_write
Conversation 50 https://github.com/python/cpython/pull/10454
Commits 26 https://github.com/python/cpython/pull/10454/commits
Checks 0 https://github.com/python/cpython/pull/10454/checks
Files changed https://github.com/python/cpython/pull/10454/files
Please reload this pagehttps://github.com/python/cpython/pull/10454/files
bpo-35196: optimize Squeezer's write() interception https://github.com/python/cpython/pull/10454/files#top
Show all changes 26 commits https://github.com/python/cpython/pull/10454/files
2525992 bpo-35196: optimize Squeezer's write() interception taleinat Nov 10, 2018 https://github.com/python/cpython/pull/10454/commits/25259921eab001ec8620a7ba46aaf47917ac9965
6b60df6 remove dead, old test code from test_squeezer.py taleinat Nov 10, 2018 https://github.com/python/cpython/pull/10454/commits/6b60df6e2625a69d5daeb02aee65b15d6633e7fb
0e30a72 bpo-35196: fix test_reload() failing taleinat Nov 11, 2018 https://github.com/python/cpython/pull/10454/commits/0e30a72e1a59df0ff193ad3b12a526cd41b55523
76e8ea2 remove unnecessary additional check which doesn't improve performance taleinat Dec 24, 2018 https://github.com/python/cpython/pull/10454/commits/76e8ea271adf34e5a05672b9d407851fa033d856
65ee056 instantiate Squeezer only on PyShell windows taleinat Dec 24, 2018 https://github.com/python/cpython/pull/10454/commits/65ee0565f4b0b05c5cf3bdc9e6eaa5e35cd00798
485d954 hard-code tab width to 8 (always true for IDLE's shell) taleinat Dec 24, 2018 https://github.com/python/cpython/pull/10454/commits/485d954a3bb2d2e23fed6dcb9beaf13b464ce131
22f1c4f Merge remote-tracking branch 'origin/master' into pr_10454 terryjreedy Dec 27, 2018 https://github.com/python/cpython/pull/10454/commits/22f1c4fd03d5eb234598a548af49e0c57cd72839
5f0e69f Add blurb and idlelib news. terryjreedy Dec 27, 2018 https://github.com/python/cpython/pull/10454/commits/5f0e69fda6dc73a70e0408ce5398eff2d3dec3a2
23af040 Condense character width comment and update to 8.6. terryjreedy Dec 27, 2018 https://github.com/python/cpython/pull/10454/commits/23af0403709fe67e1205c65225556b3a1dd8f7a0
8a4ca02 In test, change deprecated assertEquals to assertEqual. terryjreedy Dec 27, 2018 https://github.com/python/cpython/pull/10454/commits/8a4ca02160b4ef8f77b5c48aed555ccdc8323ae5
1f56ee8 Add coverage information. Details in comment. terryjreedy Dec 28, 2018 https://github.com/python/cpython/pull/10454/commits/1f56ee8000414ec2d76b11deba9ed04c0a087388
390d089 Add X windows comment. terryjreedy Dec 28, 2018 https://github.com/python/cpython/pull/10454/commits/390d0899a13442eaa2e54f8a02000770df339a85
8e12a81 Move PyShell only code to pyshell.PyShell. terryjreedy Dec 28, 2018 https://github.com/python/cpython/pull/10454/commits/8e12a8169d9b16336a07b2b723e2d99769860269
ee25bac Use existing local reference. terryjreedy Dec 28, 2018 https://github.com/python/cpython/pull/10454/commits/ee25bac1684e766a32901c0c8e6ae63686d2be4e
9ac5156 Fix comments (# Cap ... length ... end.) in squeezer.py. terryjreedy Dec 28, 2018 https://github.com/python/cpython/pull/10454/commits/9ac5156ea72636a94ee173e66b4584e083bf282f
6e1556d Fix comments in test_squeezer to PEP standards. Uncomment test terryjreedy Dec 28, 2018 https://github.com/python/cpython/pull/10454/commits/6e1556dc7bc3d96633eb3bc94b7b7ad2fb43b79e
2f0e0a5 fix bug in setting Squeezer._instance_weakref and improve test coverage taleinat Jan 3, 2019 https://github.com/python/cpython/pull/10454/commits/2f0e0a5b53b33676c45f1d13c1e60f51cff08717
37daa8a add a do-nothing test case for Squeezer.reload(), and fix test cleanup taleinat Jan 3, 2019 https://github.com/python/cpython/pull/10454/commits/37daa8a517eb287a810fc47895a187948742e8f5
62ca6d3 re-format inline comments taleinat Jan 3, 2019 https://github.com/python/cpython/pull/10454/commits/62ca6d38a06b2462fb4eaf895aa3506607ed8595
3f77905 Update test_squeezer, trigger retest terryjreedy Jan 11, 2019 https://github.com/python/cpython/pull/10454/commits/3f7790564f0cd71d6081d516ceaf5edb7523847f
17bc8d9 Reverse asssertions to test 2nd terryjreedy Jan 11, 2019 https://github.com/python/cpython/pull/10454/commits/17bc8d99caf33bc3f5e17e4b74684e99273f57b2
69eaa4f Change taked to taken terryjreedy Jan 12, 2019 https://github.com/python/cpython/pull/10454/commits/69eaa4fd39f9eb1f61150d609eddb8c35052a137
3c3fb9d fix test_reload() check that zero_with_char has increased taleinat Jan 12, 2019 https://github.com/python/cpython/pull/10454/commits/3c3fb9de29442944e4e47f72e5d4820ac634e50e
05543b0 Change 'name' to 'font' in load_font Font(). terryjreedy Jan 12, 2019 https://github.com/python/cpython/pull/10454/commits/05543b0791aa44945e25c7dba7898e5082766c59
66c01e5 Reset font size by resetting font option. terryjreedy Jan 12, 2019 https://github.com/python/cpython/pull/10454/commits/66c01e5c94414adb3c7796b61cc7e0f4d65aa7a2
ae8a483 minor code cleanup in Squeezer's mywrite() taleinat Jan 13, 2019 https://github.com/python/cpython/pull/10454/commits/ae8a483615ed254084255ca4c67c95c0b890f092
Clear filters https://github.com/python/cpython/pull/10454/files
Please reload this pagehttps://github.com/python/cpython/pull/10454/files
Please reload this pagehttps://github.com/python/cpython/pull/10454/files
NEWS.txt https://github.com/python/cpython/pull/10454/files#diff-58ad78c6c9bd40472cf2060280dadce5e6b2fa117eabbc42f053390dfaaf3d12
editor.py https://github.com/python/cpython/pull/10454/files#diff-0ebe4cdabcc123ccaae0e7cb5fcc54423a11b82957a8f972db70e98a1e847ae4
test_squeezer.py https://github.com/python/cpython/pull/10454/files#diff-afb0b76aac5e2c839ebbb7a74a6564b967b342c06254754b1da18ab0d44de58a
pyshell.py https://github.com/python/cpython/pull/10454/files#diff-f6ced3d8ba872fb8904aa7cf07512890be864c5b00ae0ccf3d0c3edff0a03567
squeezer.py https://github.com/python/cpython/pull/10454/files#diff-486b6b07195bce1d36671cf788223d59dfacb9ded857a267295baf09cae1a29f
2018-12-27-17-46-42.bpo-35196.9E-xUh.rst https://github.com/python/cpython/pull/10454/files#diff-0a5f7cc3dbce577da9eecd6718bacf4b94f33b426aee1dd282439aa8f9d35fcb
Lib/idlelib/NEWS.txthttps://github.com/python/cpython/pull/10454/files#diff-58ad78c6c9bd40472cf2060280dadce5e6b2fa117eabbc42f053390dfaaf3d12
View file https://github.com/taleinat/cpython/blob/ae8a483615ed254084255ca4c67c95c0b890f092/Lib/idlelib/NEWS.txt
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/10454/{{ revealButtonHref }}
https://github.com/python/cpython/pull/10454/files#diff-58ad78c6c9bd40472cf2060280dadce5e6b2fa117eabbc42f053390dfaaf3d12
https://github.com/python/cpython/pull/10454/files#diff-58ad78c6c9bd40472cf2060280dadce5e6b2fa117eabbc42f053390dfaaf3d12
Lib/idlelib/editor.pyhttps://github.com/python/cpython/pull/10454/files#diff-0ebe4cdabcc123ccaae0e7cb5fcc54423a11b82957a8f972db70e98a1e847ae4
View file https://github.com/taleinat/cpython/blob/ae8a483615ed254084255ca4c67c95c0b890f092/Lib/idlelib/editor.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/10454/{{ revealButtonHref }}
https://github.com/python/cpython/pull/10454/files#diff-0ebe4cdabcc123ccaae0e7cb5fcc54423a11b82957a8f972db70e98a1e847ae4
https://github.com/python/cpython/pull/10454/files#diff-0ebe4cdabcc123ccaae0e7cb5fcc54423a11b82957a8f972db70e98a1e847ae4
Please reload this pagehttps://github.com/python/cpython/pull/10454/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.