René's URL Explorer Experiment


Title: gh-131791: Improve speed of `textwrap.dedent` by replacing `re` by Marius-Juston · Pull Request #131792 · python/cpython · GitHub

Open Graph Title: gh-131791: Improve speed of `textwrap.dedent` by replacing `re` by Marius-Juston · Pull Request #131792 · python/cpython

X Title: gh-131791: Improve speed of `textwrap.dedent` by replacing `re` by Marius-Juston · Pull Request #131792 · python/cpython

Description: Current code: _whitespace_only_re = re.compile('^[ \t]+$', re.MULTILINE) _leading_whitespace_re = re.compile('(^[ \t]*)(?:[^ \t\n])', re.MULTILINE) def dedent(text): """Remove any common leadi...

Open Graph Description: Current code: _whitespace_only_re = re.compile('^[ \t]+$', re.MULTILINE) _leading_whitespace_re = re.compile('(^[ \t]*)(?:[^ \t\n])', re.MULTILINE) def dedent(text): "&quo...

X Description: Current code: _whitespace_only_re = re.compile('^[ \t]+$', re.MULTILINE) _leading_whitespace_re = re.compile('(^[ \t]*)(?:[^ \t\n])', re.MULTILINE) def dedent(text)...

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

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:5ae788f9-a57d-a1c1-ab0f-363f0c7f6804
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC01A:3E22DA:2021001:2C1F459:696AB78E
html-safe-nonce2e04c7e261cf3fad1c58f83c63b7d29e04c5060fde403d9693cdd6df5940e466
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMDFBOjNFMjJEQToyMDIxMDAxOjJDMUY0NTk6Njk2QUI3OEUiLCJ2aXNpdG9yX2lkIjoiNjcwMzc1Njk3OTM5NTU0MDg3OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaca782bd016ab7d224eda396cb507c8a0fb078d8084d19dae7d327fb547a8e4486
hovercard-subject-tagpull_request:2421787377
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/131792/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/bc4ea9795189909dffc6831b4ec641a009875786f115a56587b2d7a462e79cc8/python/cpython/pull/131792
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/bc4ea9795189909dffc6831b4ec641a009875786f115a56587b2d7a462e79cc8/python/cpython/pull/131792
og:image:altCurrent code: _whitespace_only_re = re.compile('^[ \t]+$', re.MULTILINE) _leading_whitespace_re = re.compile('(^[ \t]*)(?:[^ \t\n])', re.MULTILINE) def dedent(text): "&quo...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameMarius-Juston
hostnamegithub.com
expected-hostnamegithub.com
None46ce962e0e18113ea447391b6ace8b02d4d2861e57b4fbab3658698f73d8855b
turbo-cache-controlno-preview
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-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release30300f30bb3949de255e84a146706a3bdb5c19c9
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/131792#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F131792
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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/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%2F131792
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
Reloadhttps://github.com/python/cpython/pull/131792
Reloadhttps://github.com/python/cpython/pull/131792
Reloadhttps://github.com/python/cpython/pull/131792
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/131792
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.1k 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.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/cpython/security
Please reload this pagehttps://github.com/python/cpython/pull/131792
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 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
Jump to bottomhttps://github.com/python/cpython/pull/131792#issue-comment-box
Marius-Justonhttps://github.com/Marius-Juston
python:mainhttps://github.com/python/cpython/tree/main
Marius-Juston:mainhttps://github.com/Marius-Juston/cpython/tree/main
gh-131791: Improve speed of textwrap.dedent by replacing re https://github.com/python/cpython/pull/131792#top
Marius-Justonhttps://github.com/Marius-Juston
python:mainhttps://github.com/python/cpython/tree/main
Marius-Juston:mainhttps://github.com/Marius-Juston/cpython/tree/main
Conversation 33 https://github.com/python/cpython/pull/131792
Commits 18 https://github.com/python/cpython/pull/131792/commits
Checks 19 https://github.com/python/cpython/pull/131792/checks
Files changed https://github.com/python/cpython/pull/131792/files
Please reload this pagehttps://github.com/python/cpython/pull/131792
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/Marius-Juston
Marius-Justonhttps://github.com/Marius-Juston
Mar 27, 2025https://github.com/python/cpython/pull/131792#issue-2952216645
Please reload this pagehttps://github.com/python/cpython/pull/131792
Improve speed of textwrap.dedent #131791https://github.com/python/cpython/issues/131791
Please reload this pagehttps://github.com/python/cpython/pull/131792
Marius-Justonhttps://github.com/Marius-Juston
March 27, 2025 04:19https://github.com/python/cpython/pull/131792#commits-pushed-b722c23
https://github.com/Marius-Juston
optimized dedent by 4x for larger files, added only_whitespace option…https://github.com/python/cpython/pull/131792/commits/b722c2391f689eb409754bb4219011bbad985382
b722c23https://github.com/python/cpython/pull/131792/commits/b722c2391f689eb409754bb4219011bbad985382
https://github.com/Marius-Juston
removed necessary regex expressionhttps://github.com/python/cpython/pull/131792/commits/540b462f71a89e237e5d2d5e7885fe41241cbe26
540b462https://github.com/python/cpython/pull/131792/commits/540b462f71a89e237e5d2d5e7885fe41241cbe26
https://github.com/ghost
ghosthttps://github.com/ghost
Mar 27, 2025https://github.com/python/cpython/pull/131792#issuecomment-2757312608
Please reload this pagehttps://github.com/python/cpython/pull/131792
https://cpython-clabot.herokuapp.com/signed-contributor-license-agreement?version=96a49432-b8b1-11ec-9bf5-bfe9ad6c72c4
Please reload this pagehttps://github.com/python/cpython/pull/131792
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Mar 27, 2025https://github.com/python/cpython/pull/131792#issuecomment-2757312667
require a NEWS entryhttps://devguide.python.org/core-developers/committing/#updating-news-and-what-s-new-in-python
blurb_ithttps://blurb-it.herokuapp.com
blurbhttps://pypi.org/project/blurb/
Please reload this pagehttps://github.com/python/cpython/pull/131792
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Mar 27, 2025https://github.com/python/cpython/pull/131792#event-17008843078
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Mar 27, 2025 https://github.com/python/cpython/pull/131792#ref-issue-2952088217
Python3.13 logging level not working #131789 https://github.com/python/cpython/issues/131789
https://github.com/Marius-Juston
added news entryhttps://github.com/python/cpython/pull/131792/commits/21591182f00ddaf193095f763a42d1b808c7df12
2159118https://github.com/python/cpython/pull/131792/commits/21591182f00ddaf193095f763a42d1b808c7df12
https://github.com/Marius-Juston
Marius-Justonhttps://github.com/Marius-Juston
Mar 27, 2025 https://github.com/python/cpython/pull/131792#ref-issue-2952185138
Improve speed of textwrap.dedent #131791 https://github.com/python/cpython/issues/131791
https://github.com/Marius-Juston
updated news inline literals backtickshttps://github.com/python/cpython/pull/131792/commits/8cf215305e6abb4db3dee7b9eb2dc6e53110d022
8cf2153https://github.com/python/cpython/pull/131792/commits/8cf215305e6abb4db3dee7b9eb2dc6e53110d022
https://github.com/Marius-Juston
Marius-Justonhttps://github.com/Marius-Juston
Mar 27, 2025https://github.com/python/cpython/pull/131792#event-17009281843
https://github.com/Marius-Juston
Marius-Justonhttps://github.com/Marius-Juston
Mar 27, 2025https://github.com/python/cpython/pull/131792#event-17009303820
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
Mar 27, 2025 https://github.com/python/cpython/pull/131792#pullrequestreview-2720742712
View reviewed changes https://github.com/python/cpython/pull/131792/files/8cf215305e6abb4db3dee7b9eb2dc6e53110d022
StanFromIrelandhttps://github.com/StanFromIreland
https://github.com/python/cpython/pull/131792#pullrequestreview-2720742712
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/131792
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
Mar 27, 2025 https://github.com/python/cpython/pull/131792#pullrequestreview-2720812543
View reviewed changes https://github.com/python/cpython/pull/131792/files/8cf215305e6abb4db3dee7b9eb2dc6e53110d022
ZeroIntensityhttps://github.com/ZeroIntensity
https://github.com/python/cpython/pull/131792#pullrequestreview-2720812543
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/131792
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Mar 27, 2025https://github.com/python/cpython/pull/131792#event-17010541334
Marius-Justonhttps://github.com/Marius-Juston
March 27, 2025 13:53https://github.com/python/cpython/pull/131792#commits-pushed-7754af3
https://github.com/Marius-Juston
corrected dedent to pass test caseshttps://github.com/python/cpython/pull/131792/commits/7754af3f435b91a88e58dc8bb5d0f39cc3f86ec9
7754af3https://github.com/python/cpython/pull/131792/commits/7754af3f435b91a88e58dc8bb5d0f39cc3f86ec9
https://github.com/Marius-Juston
added missing os dependenciehttps://github.com/python/cpython/pull/131792/commits/76f231a8e3b13d06e7e4767e00029a35e36e318c
76f231ahttps://github.com/python/cpython/pull/131792/commits/76f231a8e3b13d06e7e4767e00029a35e36e318c
https://github.com/Marius-Juston
reset what the current doc washttps://github.com/python/cpython/pull/131792/commits/8dce5ab5ef9e996ce5dd5d52867bb844cf9d89b7
8dce5abhttps://github.com/python/cpython/pull/131792/commits/8dce5ab5ef9e996ce5dd5d52867bb844cf9d89b7
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
Mar 27, 2025 https://github.com/python/cpython/pull/131792#pullrequestreview-2723157887
View reviewed changes https://github.com/python/cpython/pull/131792/files/8dce5ab5ef9e996ce5dd5d52867bb844cf9d89b7
Misc/NEWS.d/next/Library/2025-03-27-04-35-17.gh-issue-131792.UtGg3O.rsthttps://github.com/python/cpython/pull/131792/files/8dce5ab5ef9e996ce5dd5d52867bb844cf9d89b7#diff-daf08eee8decce0dcbf2001998349bb3a71ec43b5598db0d09587659d2fd28ac
Please reload this pagehttps://github.com/python/cpython/pull/131792
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
Mar 27, 2025 https://github.com/python/cpython/pull/131792#pullrequestreview-2723159210
View reviewed changes https://github.com/python/cpython/pull/131792/files/8dce5ab5ef9e996ce5dd5d52867bb844cf9d89b7
Lib/textwrap.pyhttps://github.com/python/cpython/pull/131792/files/8dce5ab5ef9e996ce5dd5d52867bb844cf9d89b7#diff-debacf026a320faf179e00c9235f86c80f88ce5adba62f2d6b66af273d16f5e3
Please reload this pagehttps://github.com/python/cpython/pull/131792
https://github.com/eendebakpt
eendebakpthttps://github.com/eendebakpt
Mar 27, 2025 https://github.com/python/cpython/pull/131792#pullrequestreview-2723338652
View reviewed changes https://github.com/python/cpython/pull/131792/files/8dce5ab5ef9e996ce5dd5d52867bb844cf9d89b7
Lib/textwrap.pyhttps://github.com/python/cpython/pull/131792/files/8dce5ab5ef9e996ce5dd5d52867bb844cf9d89b7#diff-debacf026a320faf179e00c9235f86c80f88ce5adba62f2d6b66af273d16f5e3
Please reload this pagehttps://github.com/python/cpython/pull/131792
https://github.com/eendebakpt
eendebakpthttps://github.com/eendebakpt
Mar 27, 2025 https://github.com/python/cpython/pull/131792#pullrequestreview-2723343641
View reviewed changes https://github.com/python/cpython/pull/131792/files/8dce5ab5ef9e996ce5dd5d52867bb844cf9d89b7
Lib/textwrap.pyhttps://github.com/python/cpython/pull/131792/files/8dce5ab5ef9e996ce5dd5d52867bb844cf9d89b7#diff-debacf026a320faf179e00c9235f86c80f88ce5adba62f2d6b66af273d16f5e3
Please reload this pagehttps://github.com/python/cpython/pull/131792
https://github.com/eendebakpt
eendebakpthttps://github.com/eendebakpt
Mar 27, 2025https://github.com/python/cpython/pull/131792#issuecomment-2759440888
@Marius-Justonhttps://github.com/Marius-Juston
2a93206https://github.com/python/cpython/commit/2a9320665fa33d0354a54eec39f78bc6596a14b5
https://github.com/eendebakpt/python_testing/blob/fac5d2457fe894e939d76d1cd5a8991a6b5b4624/benchmarks/bm_textwrap.pyhttps://github.com/eendebakpt/python_testing/blob/fac5d2457fe894e939d76d1cd5a8991a6b5b4624/benchmarks/bm_textwrap.py
Please reload this pagehttps://github.com/python/cpython/pull/131792
https://github.com/Marius-Juston
Marius-Justonhttps://github.com/Marius-Juston
Mar 27, 2025https://github.com/python/cpython/pull/131792#issuecomment-2759459042
Please reload this pagehttps://github.com/python/cpython/pull/131792
https://github.com/eendebakpt
eendebakpthttps://github.com/eendebakpt
Mar 27, 2025 https://github.com/python/cpython/pull/131792#pullrequestreview-2723375341
View reviewed changes https://github.com/python/cpython/pull/131792/files/8dce5ab5ef9e996ce5dd5d52867bb844cf9d89b7
Lib/textwrap.pyhttps://github.com/python/cpython/pull/131792/files/8dce5ab5ef9e996ce5dd5d52867bb844cf9d89b7#diff-debacf026a320faf179e00c9235f86c80f88ce5adba62f2d6b66af273d16f5e3
eendebakpthttps://github.com/eendebakpt
Mar 27, 2025https://github.com/python/cpython/pull/131792#discussion_r2017596551
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/131792
Marius-Justonhttps://github.com/Marius-Juston
March 27, 2025 16:45https://github.com/python/cpython/pull/131792#commits-pushed-520f25f
https://github.com/Marius-Juston
much simpler implementation, using fileter and common prefix for fast…https://github.com/python/cpython/pull/131792/commits/520f25ff1b99682944b08b87ff15145570c1fbe9
520f25fhttps://github.com/python/cpython/pull/131792/commits/520f25ff1b99682944b08b87ff15145570c1fbe9
https://github.com/Marius-Juston
small mistake for single linehttps://github.com/python/cpython/pull/131792/commits/e703e0ddf519427ea1499c469ddbf6107c37176a
e703e0dhttps://github.com/python/cpython/pull/131792/commits/e703e0ddf519427ea1499c469ddbf6107c37176a
https://github.com/Marius-Juston
forgot to invert the compairsonhttps://github.com/python/cpython/pull/131792/commits/159e3633a5d560648e41176a878634f4afbdc0ef
159e363https://github.com/python/cpython/pull/131792/commits/159e3633a5d560648e41176a878634f4afbdc0ef
https://github.com/Marius-Juston
minor optimization, using lstrip and more concise margin_len computationhttps://github.com/python/cpython/pull/131792/commits/1c2678ea3d91cd8edf66fecb9099938f1fe674fc
1c2678ehttps://github.com/python/cpython/pull/131792/commits/1c2678ea3d91cd8edf66fecb9099938f1fe674fc
https://github.com/Marius-Juston
Merge remote-tracking branch 'origin/main'https://github.com/python/cpython/pull/131792/commits/da9e65c660a8f73cf34b7bf374775ff33f9279f7
da9e65chttps://github.com/python/cpython/pull/131792/commits/da9e65c660a8f73cf34b7bf374775ff33f9279f7
https://github.com/Marius-Juston
Marius-Justonhttps://github.com/Marius-Juston
Mar 28, 2025https://github.com/python/cpython/pull/131792#issuecomment-2760086529
Please reload this pagehttps://github.com/python/cpython/pull/131792
https://github.com/Marius-Juston
Marius-Justonhttps://github.com/Marius-Juston
eendebakpthttps://github.com/eendebakpt
March 28, 2025 03:28https://github.com/python/cpython/pull/131792#event-17025081583
Marius-Justonhttps://github.com/Marius-Juston
March 28, 2025 11:58https://github.com/python/cpython/pull/131792#commits-pushed-199d237
https://github.com/Marius-Juston
minor faster filtering using list comprehensionhttps://github.com/python/cpython/pull/131792/commits/199d23734ff46629b261b0066871eb7c31cf205b
199d237https://github.com/python/cpython/pull/131792/commits/199d23734ff46629b261b0066871eb7c31cf205b
https://github.com/Marius-Juston
small speedup by removing ends withhttps://github.com/python/cpython/pull/131792/commits/27fcf53e822e636f4807ed0cbcfff0f4f8a88c29
27fcf53https://github.com/python/cpython/pull/131792/commits/27fcf53e822e636f4807ed0cbcfff0f4f8a88c29
https://github.com/Marius-Juston
strip seems to give an extremely minor performance boost over lstriphttps://github.com/python/cpython/pull/131792/commits/1379566463b1746a6ebc98fd548e9c8b92c8e0a4
1379566https://github.com/python/cpython/pull/131792/commits/1379566463b1746a6ebc98fd548e9c8b92c8e0a4
https://github.com/Marius-Juston
Marius-Justonhttps://github.com/Marius-Juston
Mar 28, 2025https://github.com/python/cpython/pull/131792#event-17036499064
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Mar 28, 2025 https://github.com/python/cpython/pull/131792#pullrequestreview-2726298909
View reviewed changes https://github.com/python/cpython/pull/131792/files/1379566463b1746a6ebc98fd548e9c8b92c8e0a4
picnixzhttps://github.com/picnixz
Please reload this pagehttps://github.com/python/cpython/pull/131792
https://github.com/python/cpython/pull/131792#pullrequestreview-2726298909
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
ValueErrorhttps://docs.python.org/3/library/exceptions.html#ValueError
commonprefix()https://docs.python.org/3/library/os.path.html#os.path.commonprefix
Please reload this pagehttps://github.com/python/cpython/pull/131792
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
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
Mar 28, 2025https://github.com/python/cpython/pull/131792#event-17036508322
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Mar 28, 2025https://github.com/python/cpython/pull/131792#issuecomment-2762063510
Please reload this pagehttps://github.com/python/cpython/pull/131792
https://github.com/Marius-Juston
Marius-Justonhttps://github.com/Marius-Juston
Mar 28, 2025https://github.com/python/cpython/pull/131792#issuecomment-2762111298
Please reload this pagehttps://github.com/python/cpython/pull/131792
#107369https://github.com/python/cpython/issues/107369
ValueErrorhttps://docs.python.org/3/library/exceptions.html#ValueError
commonprefix()https://docs.python.org/3/library/os.path.html#os.path.commonprefix
os.path.commonprefixhttps://docs.python.org/3.13/library/os.path.html#os.path.commonprefix
#107369https://github.com/python/cpython/issues/107369
Please reload this pagehttps://github.com/python/cpython/pull/131792
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Mar 28, 2025https://github.com/python/cpython/pull/131792#issuecomment-2762130111
Please reload this pagehttps://github.com/python/cpython/pull/131792
os.path.commonprefixhttps://docs.python.org/3.13/library/os.path.html#os.path.commonprefix
https://github.com/psf/pyperfhttps://github.com/psf/pyperf
Please reload this pagehttps://github.com/python/cpython/pull/131792
https://github.com/AA-Turner
AA-Turnerhttps://github.com/AA-Turner
Mar 28, 2025https://github.com/python/cpython/pull/131792#issuecomment-2762272672
@Marius-Justonhttps://github.com/Marius-Juston
AI policyhttps://devguide.python.org/getting-started/generative-ai/
Please reload this pagehttps://github.com/python/cpython/pull/131792
https://github.com/Marius-Juston
Marius-Justonhttps://github.com/Marius-Juston
Mar 28, 2025https://github.com/python/cpython/pull/131792#issuecomment-2762349163
Please reload this pagehttps://github.com/python/cpython/pull/131792
https://github.com/eendebakpt
eendebakpthttps://github.com/eendebakpt
Mar 28, 2025https://github.com/python/cpython/pull/131792#issuecomment-2762363302
@Marius-Justonhttps://github.com/Marius-Juston
@picnixzhttps://github.com/picnixz
bm_textwraphttps://github.com/eendebakpt/python_testing/blob/fac5d2457fe894e939d76d1cd5a8991a6b5b4624/benchmarks/bm_textwrap.py
Please reload this pagehttps://github.com/python/cpython/pull/131792
https://github.com/Marius-Juston
Marius-Justonhttps://github.com/Marius-Juston
Mar 29, 2025https://github.com/python/cpython/pull/131792#issuecomment-2763122496
Please reload this pagehttps://github.com/python/cpython/pull/131792
@picnixzhttps://github.com/picnixz
https://gist.github.com/Marius-Juston/6947a794937a6e46c0164dbb9058c8afhttps://gist.github.com/Marius-Juston/6947a794937a6e46c0164dbb9058c8af
Please reload this pagehttps://github.com/python/cpython/pull/131792
https://github.com/Marius-Juston
Marius-Justonhttps://github.com/Marius-Juston
Mar 30, 2025https://github.com/python/cpython/pull/131792#issuecomment-2764331506
Please reload this pagehttps://github.com/python/cpython/pull/131792
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Mar 30, 2025https://github.com/python/cpython/pull/131792#issuecomment-2764502932
Please reload this pagehttps://github.com/python/cpython/pull/131792
Please reload this pagehttps://github.com/python/cpython/pull/131792
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Mar 30, 2025 https://github.com/python/cpython/pull/131792#pullrequestreview-2727864481
View reviewed changes https://github.com/python/cpython/pull/131792/files/1379566463b1746a6ebc98fd548e9c8b92c8e0a4
Lib/textwrap.pyhttps://github.com/python/cpython/pull/131792/files/1379566463b1746a6ebc98fd548e9c8b92c8e0a4#diff-debacf026a320faf179e00c9235f86c80f88ce5adba62f2d6b66af273d16f5e3
Please reload this pagehttps://github.com/python/cpython/pull/131792
https://github.com/AA-Turner
AA-Turnerhttps://github.com/AA-Turner
Mar 30, 2025https://github.com/python/cpython/pull/131792#issuecomment-2764656005
Please reload this pagehttps://github.com/python/cpython/pull/131792
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Mar 30, 2025https://github.com/python/cpython/pull/131792#issuecomment-2764658907
Please reload this pagehttps://github.com/python/cpython/pull/131792
https://github.com/Marius-Juston
Marius-Justonhttps://github.com/Marius-Juston
Mar 30, 2025https://github.com/python/cpython/pull/131792#issuecomment-2764707024
https://gist.github.com/Marius-Juston/6947a794937a6e46c0164dbb9058c8afhttps://gist.github.com/Marius-Juston/6947a794937a6e46c0164dbb9058c8af
Please reload this pagehttps://github.com/python/cpython/pull/131792
https://github.com/Marius-Juston
fixed unecessary end line operator for emptyhttps://github.com/python/cpython/pull/131792/commits/b71240dabf4ec99a1d28146928ab661bfb562f46
b71240dhttps://github.com/python/cpython/pull/131792/commits/b71240dabf4ec99a1d28146928ab661bfb562f46
https://github.com/eendebakpt
eendebakpthttps://github.com/eendebakpt
Mar 30, 2025https://github.com/python/cpython/pull/131792#issuecomment-2764719836
@Marius-Justonhttps://github.com/Marius-Juston
Please reload this pagehttps://github.com/python/cpython/pull/131792
https://github.com/Marius-Juston
Marius-Justonhttps://github.com/Marius-Juston
Mar 30, 2025https://github.com/python/cpython/pull/131792#issuecomment-2764719915
Please reload this pagehttps://github.com/python/cpython/pull/131792
https://github.com/AA-Turner
AA-Turnerhttps://github.com/AA-Turner
Mar 30, 2025 https://github.com/python/cpython/pull/131792#ref-pullrequest-2959080751
gh-130167: Optimise textwrap.dedent() #131919 https://github.com/python/cpython/pull/131919
https://github.com/AA-Turner
AA-Turnerhttps://github.com/AA-Turner
Mar 30, 2025https://github.com/python/cpython/pull/131792#issuecomment-2764731216
#131919https://github.com/python/cpython/pull/131919
Please reload this pagehttps://github.com/python/cpython/pull/131792
https://github.com/AA-Turner
AA-Turnerhttps://github.com/AA-Turner
Mar 31, 2025https://github.com/python/cpython/pull/131792#issuecomment-2764826643
#131919https://github.com/python/cpython/pull/131919
Please reload this pagehttps://github.com/python/cpython/pull/131792
https://github.com/AA-Turner
AA-Turnerhttps://github.com/AA-Turner
Mar 31, 2025https://github.com/python/cpython/pull/131792#event-17049510008
https://github.com/Marius-Juston
Marius-Justonhttps://github.com/Marius-Juston
Mar 31, 2025 https://github.com/python/cpython/pull/131792#ref-pullrequest-2959292152
gh-130167: Minor textwrap.dedent() optimization #131925 https://github.com/python/cpython/pull/131925
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F131792
https://github.com/picnixz
picnixz https://github.com/picnixz
https://github.com/python/cpython/pull/131792/files/1379566463b1746a6ebc98fd548e9c8b92c8e0a4
https://github.com/ZeroIntensity
ZeroIntensity https://github.com/ZeroIntensity
https://github.com/python/cpython/pull/131792/files/1379566463b1746a6ebc98fd548e9c8b92c8e0a4
https://github.com/StanFromIreland
StanFromIreland https://github.com/StanFromIreland
https://github.com/python/cpython/pull/131792/files/8dce5ab5ef9e996ce5dd5d52867bb844cf9d89b7
https://github.com/eendebakpt
eendebakpt https://github.com/eendebakpt
awaiting changes https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20changes%22
Please reload this pagehttps://github.com/python/cpython/pull/131792
https://github.com/Marius-Juston
https://github.com/eendebakpt
https://github.com/picnixz
https://github.com/AA-Turner
https://github.com/ZeroIntensity
https://github.com/StanFromIreland
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.