René's URL Explorer Experiment


Title: GH-116380: Speed up `glob.glob()` by removing some system calls by barneygale · Pull Request #116392 · python/cpython · GitHub

Open Graph Title: GH-116380: Speed up `glob.glob()` by removing some system calls by barneygale · Pull Request #116392 · python/cpython

X Title: GH-116380: Speed up `glob.glob()` by removing some system calls by barneygale · Pull Request #116392 · python/cpython

Description: Speed up glob.glob() and glob.iglob() by reducing the number of system calls made. This unifies the implementations of globbing in the glob and pathlib modules. Depends on GH-117586: Speed up path...

Open Graph Description: Speed up glob.glob() and glob.iglob() by reducing the number of system calls made. This unifies the implementations of globbing in the glob and pathlib modules. Depends on GH-117586: Speed up path...

X Description: Speed up glob.glob() and glob.iglob() by reducing the number of system calls made. This unifies the implementations of globbing in the glob and pathlib modules. Depends on GH-117586: Speed up path...

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

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:77f8673e-8821-0e14-124d-1a387ce80c0c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id85F2:320F8E:25FBFFF:3356C73:696ADA5F
html-safe-nonced6b1575bd4983788f6ea0b5184adb580b30fe37c09db9efeae86e14498eaef2f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NUYyOjMyMEY4RToyNUZCRkZGOjMzNTZDNzM6Njk2QURBNUYiLCJ2aXNpdG9yX2lkIjoiNzgxODE1MzM4MzI3MTUyMDg2MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmace35609fa275c548de8f26287ebf19589ef8e938f5fe5556e83ad5674515ff1c3
hovercard-subject-tagpull_request:1757839959
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/116392/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/c70fbc9f12fba97a2550693491e71cb4ffcca97ae25e123f343059ad6978b6b0/python/cpython/pull/116392
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c70fbc9f12fba97a2550693491e71cb4ffcca97ae25e123f343059ad6978b6b0/python/cpython/pull/116392
og:image:altSpeed up glob.glob() and glob.iglob() by reducing the number of system calls made. This unifies the implementations of globbing in the glob and pathlib modules. Depends on GH-117586: Speed up path...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebarneygale
hostnamegithub.com
expected-hostnamegithub.com
None5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d
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
release524a93f2c1f36522a3b4be4c110467ee4172245d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/116392#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F116392
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%2F116392
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/116392
Reloadhttps://github.com/python/cpython/pull/116392
Reloadhttps://github.com/python/cpython/pull/116392
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/116392
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/116392
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/116392#issue-comment-box
barneygalehttps://github.com/barneygale
python:mainhttps://github.com/python/cpython/tree/main
barneygale:gh-116380https://github.com/barneygale/cpython/tree/gh-116380
GH-116380: Speed up glob.glob() by removing some system calls https://github.com/python/cpython/pull/116392#top
barneygalehttps://github.com/barneygale
python:mainhttps://github.com/python/cpython/tree/main
barneygale:gh-116380https://github.com/barneygale/cpython/tree/gh-116380
Conversation 91 https://github.com/python/cpython/pull/116392
Commits 101 https://github.com/python/cpython/pull/116392/commits
Checks 37 https://github.com/python/cpython/pull/116392/checks
Files changed 7 https://github.com/python/cpython/pull/116392/files
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Mar 5, 2024https://github.com/python/cpython/pull/116392#issue-2170303419
Please reload this pagehttps://github.com/python/cpython/pull/116392
GH-117586: Speed up pathlib.Path.glob() by working with strings #117589https://github.com/python/cpython/pull/117589
GH-115060: Speed up pathlib.Path.glob() by not scanning literal parts #117732https://github.com/python/cpython/pull/117732
#104269https://github.com/python/cpython/issues/104269
Change shutil.rmtree and os.walk to support very deep hierarchies #89727https://github.com/python/cpython/issues/89727
Speed up glob.glob() by reducing number of system calls made #116380https://github.com/python/cpython/issues/116380
Please reload this pagehttps://github.com/python/cpython/pull/116392
https://github.com/barneygale
pythonGH-116380https://github.com/python/cpython/issues/116380
: Makehttps://github.com/python/cpython/pull/116392/commits/db3c62043ce6f30b0dd0dbb4ae334f15b105bdb3
glob.glob()https://github.com/python/cpython/pull/116392/commits/db3c62043ce6f30b0dd0dbb4ae334f15b105bdb3
twice as fasthttps://github.com/python/cpython/pull/116392/commits/db3c62043ce6f30b0dd0dbb4ae334f15b105bdb3
db3c620https://github.com/python/cpython/pull/116392/commits/db3c62043ce6f30b0dd0dbb4ae334f15b105bdb3
https://github.com/barneygale
barneygalehttps://github.com/barneygale
performance https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Aperformance
Mar 5, 2024https://github.com/python/cpython/pull/116392#event-12020635467
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
Mar 5, 2024https://github.com/python/cpython/pull/116392#event-12020635849
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Mar 5, 2024 https://github.com/python/cpython/pull/116392#ref-issue-2170127544
Speed up glob.glob() by reducing number of system calls made #116380 https://github.com/python/cpython/issues/116380
https://github.com/barneygale
Use os.listdir() if we don't need to check entry type.https://github.com/python/cpython/pull/116392/commits/9e1f059760355fb72cebde0cb066d571886374cc
9e1f059https://github.com/python/cpython/pull/116392/commits/9e1f059760355fb72cebde0cb066d571886374cc
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Mar 5, 2024https://github.com/python/cpython/pull/116392#issuecomment-1979831595
Please reload this pagehttps://github.com/python/cpython/pull/116392
#116377https://github.com/python/cpython/issues/116377
Please reload this pagehttps://github.com/python/cpython/pull/116392
barneygalehttps://github.com/barneygale
March 6, 2024 01:21https://github.com/python/cpython/pull/116392#commits-pushed-10432df
https://github.com/barneygale
A few small speedups.https://github.com/python/cpython/pull/116392/commits/10432df36bc6d5f4c509b63f670349f7a6a0b0e3
10432dfhttps://github.com/python/cpython/pull/116392/commits/10432df36bc6d5f4c509b63f670349f7a6a0b0e3
https://github.com/barneygale
Simplify prefix removalhttps://github.com/python/cpython/pull/116392/commits/7e389e21fe3cfaa5297284346387b4d12b520d46
7e389e2https://github.com/python/cpython/pull/116392/commits/7e389e21fe3cfaa5297284346387b4d12b520d46
https://github.com/barneygale
Re-implement glob0(), glob1(), and has_magic().https://github.com/python/cpython/pull/116392/commits/8680a0a8e96f3244c9d6fb0063e18df81df2000d
8680a0ahttps://github.com/python/cpython/pull/116392/commits/8680a0a8e96f3244c9d6fb0063e18df81df2000d
https://github.com/barneygale
Fix errant StopIteration.https://github.com/python/cpython/pull/116392/commits/3bf3124f8145141c85ac69be2e374e16663d177d
3bf3124https://github.com/python/cpython/pull/116392/commits/3bf3124f8145141c85ac69be2e374e16663d177d
https://github.com/barneygale
Skip compiling pattern for consecutive ** segments.https://github.com/python/cpython/pull/116392/commits/f8fb9923972450bc6d379d81bc0f55ae7f155ef2
f8fb992https://github.com/python/cpython/pull/116392/commits/f8fb9923972450bc6d379d81bc0f55ae7f155ef2
https://github.com/barneygale
Clarify regex/path building in literal and recursive selectors.https://github.com/python/cpython/pull/116392/commits/50ef080501f5eee1480822a6a1a7383398770414
50ef080https://github.com/python/cpython/pull/116392/commits/50ef080501f5eee1480822a6a1a7383398770414
https://github.com/barneygale
Simplify code to ignore root_dir.https://github.com/python/cpython/pull/116392/commits/ccefacd61d6c092ae3765df0d236423b72c3eda1
ccefacdhttps://github.com/python/cpython/pull/116392/commits/ccefacd61d6c092ae3765df0d236423b72c3eda1
https://github.com/barneygale
Fix possible Windows separator issue.https://github.com/python/cpython/pull/116392/commits/fa951f6f3301c0b9a8c23467df1e51ff74849cbf
fa951f6https://github.com/python/cpython/pull/116392/commits/fa951f6f3301c0b9a8c23467df1e51ff74849cbf
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
Mar 6, 2024 https://github.com/python/cpython/pull/116392#pullrequestreview-1918967894
View reviewed changes https://github.com/python/cpython/pull/116392/files/fa951f6f3301c0b9a8c23467df1e51ff74849cbf
gpsheadhttps://github.com/gpshead
https://github.com/python/cpython/pull/116392#pullrequestreview-1918967894
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/116392
Lib/glob.pyhttps://github.com/python/cpython/pull/116392/files/fa951f6f3301c0b9a8c23467df1e51ff74849cbf#diff-aca8a30d5728898dc8623ab33adb548567e7a0092079954afa1b594b7f83c828
Please reload this pagehttps://github.com/python/cpython/pull/116392
Lib/glob.pyhttps://github.com/python/cpython/pull/116392/files/fa951f6f3301c0b9a8c23467df1e51ff74849cbf#diff-aca8a30d5728898dc8623ab33adb548567e7a0092079954afa1b594b7f83c828
Please reload this pagehttps://github.com/python/cpython/pull/116392
Lib/glob.pyhttps://github.com/python/cpython/pull/116392/files/fa951f6f3301c0b9a8c23467df1e51ff74849cbf#diff-aca8a30d5728898dc8623ab33adb548567e7a0092079954afa1b594b7f83c828
Please reload this pagehttps://github.com/python/cpython/pull/116392
Misc/NEWS.d/next/Library/2024-03-05-23-08-11.gh-issue-116380.56HU7I.rsthttps://github.com/python/cpython/pull/116392/files/fa951f6f3301c0b9a8c23467df1e51ff74849cbf#diff-a501abdd86614ce9ec3b034567439c4f403533e25f5b28f018957d980054c4d0
Please reload this pagehttps://github.com/python/cpython/pull/116392
https://github.com/Privat33r-dev
Privat33r-devhttps://github.com/Privat33r-dev
Mar 6, 2024 https://github.com/python/cpython/pull/116392#pullrequestreview-1919657832
View reviewed changes https://github.com/python/cpython/pull/116392/files/fa951f6f3301c0b9a8c23467df1e51ff74849cbf
Lib/glob.pyhttps://github.com/python/cpython/pull/116392/files/fa951f6f3301c0b9a8c23467df1e51ff74849cbf#diff-aca8a30d5728898dc8623ab33adb548567e7a0092079954afa1b594b7f83c828
Please reload this pagehttps://github.com/python/cpython/pull/116392
https://github.com/Privat33r-dev
Privat33r-devhttps://github.com/Privat33r-dev
Mar 6, 2024 https://github.com/python/cpython/pull/116392#pullrequestreview-1919699661
View reviewed changes https://github.com/python/cpython/pull/116392/files/fa951f6f3301c0b9a8c23467df1e51ff74849cbf
Lib/glob.pyhttps://github.com/python/cpython/pull/116392/files/fa951f6f3301c0b9a8c23467df1e51ff74849cbf#diff-aca8a30d5728898dc8623ab33adb548567e7a0092079954afa1b594b7f83c828
Please reload this pagehttps://github.com/python/cpython/pull/116392
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
March 6, 2024 17:12https://github.com/python/cpython/pull/116392#event-12030994751
barneygalehttps://github.com/barneygale
March 6, 2024 21:20https://github.com/python/cpython/pull/116392#commits-pushed-0aec12c
https://github.com/barneygale
Address some review feedback.https://github.com/python/cpython/pull/116392/commits/0aec12cf00b3e1786d34f800c972f1a3c7565ed2
0aec12chttps://github.com/python/cpython/pull/116392/commits/0aec12cf00b3e1786d34f800c972f1a3c7565ed2
https://github.com/barneygale
Use assignment expressions in a couple of placeshttps://github.com/python/cpython/pull/116392/commits/72691baa60ae945e98c0c419817b00a1a221d964
72691bahttps://github.com/python/cpython/pull/116392/commits/72691baa60ae945e98c0c419817b00a1a221d964
https://github.com/barneygale
Replace lambda with operator.not_.https://github.com/python/cpython/pull/116392/commits/c58dd21c0c06984bcde55061081192dd91bb4032
c58dd21https://github.com/python/cpython/pull/116392/commits/c58dd21c0c06984bcde55061081192dd91bb4032
https://github.com/barneygale
Merge branch 'main' intohttps://github.com/python/cpython/pull/116392/commits/c361ec9ecfbb56a3124be3e867dfc57d382c3b13
pythongh-116380https://github.com/python/cpython/issues/116380
c361ec9https://github.com/python/cpython/pull/116392/commits/c361ec9ecfbb56a3124be3e867dfc57d382c3b13
https://github.com/barneygale
Speed up _add_trailing_slash()https://github.com/python/cpython/pull/116392/commits/22b30db6dad43a3d81459b4a16b6febf516af146
22b30dbhttps://github.com/python/cpython/pull/116392/commits/22b30db6dad43a3d81459b4a16b6febf516af146
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Mar 7, 2024 https://github.com/python/cpython/pull/116392#pullrequestreview-1921070861
View reviewed changes https://github.com/python/cpython/pull/116392/files/22b30db6dad43a3d81459b4a16b6febf516af146
Lib/glob.pyhttps://github.com/python/cpython/pull/116392/files/22b30db6dad43a3d81459b4a16b6febf516af146#diff-aca8a30d5728898dc8623ab33adb548567e7a0092079954afa1b594b7f83c828
Please reload this pagehttps://github.com/python/cpython/pull/116392
barneygalehttps://github.com/barneygale
March 7, 2024 02:10https://github.com/python/cpython/pull/116392#commits-pushed-83b70bd
https://github.com/barneygale
Speed up select_literal()https://github.com/python/cpython/pull/116392/commits/83b70bd5885a1a493ff50a443ecbb44e80962314
83b70bdhttps://github.com/python/cpython/pull/116392/commits/83b70bd5885a1a493ff50a443ecbb44e80962314
https://github.com/barneygale
Speed up select_recursive()https://github.com/python/cpython/pull/116392/commits/1d32d14517e39b28d0fecd6bab801733cf1566ee
1d32d14https://github.com/python/cpython/pull/116392/commits/1d32d14517e39b28d0fecd6bab801733cf1566ee
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Mar 7, 2024 https://github.com/python/cpython/pull/116392#pullrequestreview-1921967696
View reviewed changes https://github.com/python/cpython/pull/116392/files/1d32d14517e39b28d0fecd6bab801733cf1566ee
serhiy-storchakahttps://github.com/serhiy-storchaka
https://github.com/python/cpython/pull/116392#pullrequestreview-1921967696
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/116392
Lib/glob.pyhttps://github.com/python/cpython/pull/116392/files/fa951f6f3301c0b9a8c23467df1e51ff74849cbf#diff-aca8a30d5728898dc8623ab33adb548567e7a0092079954afa1b594b7f83c828
Please reload this pagehttps://github.com/python/cpython/pull/116392
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Mar 7, 2024https://github.com/python/cpython/pull/116392#issuecomment-1983365043
Please reload this pagehttps://github.com/python/cpython/pull/116392
Please reload this pagehttps://github.com/python/cpython/pull/116392
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Mar 10, 2024https://github.com/python/cpython/pull/116392#issuecomment-1987329243
randomfiletreehttps://pypi.org/project/RandomFileTree/
Please reload this pagehttps://github.com/python/cpython/pull/116392
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Mar 15, 2024https://github.com/python/cpython/pull/116392#issuecomment-1998729229
Please reload this pagehttps://github.com/python/cpython/pull/116392
barneygalehttps://github.com/barneygale
February 4, 2025 15:59https://github.com/python/cpython/pull/116392#commits-pushed-e113457
https://github.com/barneygale
Merge branch 'main' intohttps://github.com/python/cpython/pull/116392/commits/e1134573a00afa6fd4553c4fbd8925f0034e127f
pythongh-116380https://github.com/python/cpython/issues/116380
e113457https://github.com/python/cpython/pull/116392/commits/e1134573a00afa6fd4553c4fbd8925f0034e127f
https://github.com/barneygale
Merge branch 'main' intohttps://github.com/python/cpython/pull/116392/commits/d8ec2d4cf6cc709c894a461fc60b6c40704100f2
pythongh-116380https://github.com/python/cpython/issues/116380
d8ec2d4https://github.com/python/cpython/pull/116392/commits/d8ec2d4cf6cc709c894a461fc60b6c40704100f2
https://github.com/barneygale
Merge branch 'main' intohttps://github.com/python/cpython/pull/116392/commits/203b78bd4e099ff9002e3c5503665d0c3421ff29
pythongh-116380https://github.com/python/cpython/issues/116380
203b78bhttps://github.com/python/cpython/pull/116392/commits/203b78bd4e099ff9002e3c5503665d0c3421ff29
https://github.com/barneygale
Windows test fixeshttps://github.com/python/cpython/pull/116392/commits/ffeb81ab58ee5ae8229117b69cd363348d1d44d8
ffeb81ahttps://github.com/python/cpython/pull/116392/commits/ffeb81ab58ee5ae8229117b69cd363348d1d44d8
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Feb 8, 2025https://github.com/python/cpython/pull/116392#issuecomment-2644565769
Please reload this pagehttps://github.com/python/cpython/pull/116392
@serhiy-storchakahttps://github.com/serhiy-storchaka
8b5c850https://github.com/python/cpython/commit/8b5c8508c7f5d98b09792e159ef2396c73da68cd
Please reload this pagehttps://github.com/python/cpython/pull/116392
barneygalehttps://github.com/barneygale
February 8, 2025 08:22https://github.com/python/cpython/pull/116392#commits-pushed-ec157a1
https://github.com/barneygale
Speed up suppression of initial empty path.https://github.com/python/cpython/pull/116392/commits/ec157a1646f35b3398f4ce73f4f9d0ba0db4be81
ec157a1https://github.com/python/cpython/pull/116392/commits/ec157a1646f35b3398f4ce73f4f9d0ba0db4be81
https://github.com/barneygale
Anticipate the removal of glob0() and glob1()https://github.com/python/cpython/pull/116392/commits/7a620db58a8a1c9d7ac67f35c951efa4f7a59a63
7a620dbhttps://github.com/python/cpython/pull/116392/commits/7a620db58a8a1c9d7ac67f35c951efa4f7a59a63
https://github.com/barneygale
Merge branch 'main' intohttps://github.com/python/cpython/pull/116392/commits/e9fa3ac3cbfaccea2b55ef3250d48bba49891e3a
pythongh-116380https://github.com/python/cpython/issues/116380
e9fa3achttps://github.com/python/cpython/pull/116392/commits/e9fa3ac3cbfaccea2b55ef3250d48bba49891e3a
https://github.com/barneygale
Handle _initial_path_exists more explicitly in select_special()https://github.com/python/cpython/pull/116392/commits/46429ad11520967b2ccbd39a708732825f2c4ee4
46429adhttps://github.com/python/cpython/pull/116392/commits/46429ad11520967b2ccbd39a708732825f2c4ee4
https://github.com/barneygale
Add comment, remove redundant checkhttps://github.com/python/cpython/pull/116392/commits/f160e8cf262bf8dd97aab6da36274dc17502bed8
f160e8chttps://github.com/python/cpython/pull/116392/commits/f160e8cf262bf8dd97aab6da36274dc17502bed8
https://github.com/eendebakpt
eendebakpthttps://github.com/eendebakpt
Feb 8, 2025 https://github.com/python/cpython/pull/116392#pullrequestreview-2603493808
View reviewed changes https://github.com/python/cpython/pull/116392/files/ec157a1646f35b3398f4ce73f4f9d0ba0db4be81
Lib/glob.pyhttps://github.com/python/cpython/pull/116392/files/ffeb81ab58ee5ae8229117b69cd363348d1d44d8..ec157a1646f35b3398f4ce73f4f9d0ba0db4be81#diff-aca8a30d5728898dc8623ab33adb548567e7a0092079954afa1b594b7f83c828
Please reload this pagehttps://github.com/python/cpython/pull/116392
barneygalehttps://github.com/barneygale
February 9, 2025 22:44https://github.com/python/cpython/pull/116392#commits-pushed-47846ca
https://github.com/barneygale
Avoid slicing prefix when root_dir is Nonehttps://github.com/python/cpython/pull/116392/commits/47846ca0d975c30665740d3826e41c71a9f7f12b
47846cahttps://github.com/python/cpython/pull/116392/commits/47846ca0d975c30665740d3826e41c71a9f7f12b
https://github.com/barneygale
Replace _initial_path_exists sentinel with empty boolean arghttps://github.com/python/cpython/pull/116392/commits/e55d94670ea6b76c3bf79df6df714e5363605cfa
e55d946https://github.com/python/cpython/pull/116392/commits/e55d94670ea6b76c3bf79df6df714e5363605cfa
https://github.com/barneygale
Slightly simplify recursive globbinghttps://github.com/python/cpython/pull/116392/commits/47499c7a4dec8027db34739e2a83209dc3a093d8
47499c7https://github.com/python/cpython/pull/116392/commits/47499c7a4dec8027db34739e2a83209dc3a093d8
https://github.com/barneygale
Revert "Slightly simplify recursive globbing"https://github.com/python/cpython/pull/116392/commits/849de872c5b04ba82795ed295817edda25959c4b
849de87https://github.com/python/cpython/pull/116392/commits/849de872c5b04ba82795ed295817edda25959c4b
47499c7https://github.com/barneygale/cpython/commit/47499c7a4dec8027db34739e2a83209dc3a093d8
https://github.com/barneygale
Split out method for scanning cwdhttps://github.com/python/cpython/pull/116392/commits/10a6cf424c7e8b003b25ebeff8910805be20d61c
10a6cf4https://github.com/python/cpython/pull/116392/commits/10a6cf424c7e8b003b25ebeff8910805be20d61c
https://github.com/barneygale
Merge branch 'main' intohttps://github.com/python/cpython/pull/116392/commits/413b12e39a517ddd0a373e12d0890fa95ebe6a23
pythongh-116380https://github.com/python/cpython/issues/116380
413b12ehttps://github.com/python/cpython/pull/116392/commits/413b12e39a517ddd0a373e12d0890fa95ebe6a23
https://github.com/barneygale
Merge branch 'main' intohttps://github.com/python/cpython/pull/116392/commits/acf0f9bc4d68a36e0e11050e8ac94132d0022336
pythongh-116380https://github.com/python/cpython/issues/116380
acf0f9bhttps://github.com/python/cpython/pull/116392/commits/acf0f9bc4d68a36e0e11050e8ac94132d0022336
https://github.com/barneygale
Merge branch 'main' intohttps://github.com/python/cpython/pull/116392/commits/a89211f3dcc38e7ea5b555a0cbb77010db6d7b96
pythongh-116380https://github.com/python/cpython/issues/116380
a89211fhttps://github.com/python/cpython/pull/116392/commits/a89211f3dcc38e7ea5b555a0cbb77010db6d7b96
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Feb 21, 2025https://github.com/python/cpython/pull/116392#issuecomment-2675448925
Please reload this pagehttps://github.com/python/cpython/pull/116392
https://github.com/barneygale
Merge branch 'main' intohttps://github.com/python/cpython/pull/116392/commits/e4c519cfafa3e1133f1e4091a27584b9627f07c1
pythongh-116380https://github.com/python/cpython/issues/116380
e4c519chttps://github.com/python/cpython/pull/116392/commits/e4c519cfafa3e1133f1e4091a27584b9627f07c1
https://github.com/barneygale
barneygalehttps://github.com/barneygale
February 28, 2025 19:42https://github.com/python/cpython/pull/116392#event-16517151157
https://github.com/barneygale
barneygalehttps://github.com/barneygale
da4899bhttps://github.com/python/cpython/commit/da4899b94a9a9083fed4972b2473546e0d997727
Feb 28, 2025https://github.com/python/cpython/pull/116392#event-16517627734
Please reload this pagehttps://github.com/python/cpython/pull/116392
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
Feb 28, 2025https://github.com/python/cpython/pull/116392#event-16517628202
https://github.com/eendebakpt
eendebakpthttps://github.com/eendebakpt
Feb 28, 2025https://github.com/python/cpython/pull/116392#issuecomment-2691508073
@barneygalehttps://github.com/barneygale
Please reload this pagehttps://github.com/python/cpython/pull/116392
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Feb 28, 2025https://github.com/python/cpython/pull/116392#issuecomment-2691568615
da4899bhttps://github.com/python/cpython/commit/da4899b94a9a9083fed4972b2473546e0d997727
the buildbot page in the devguidehttps://devguide.python.org/buildbots/
https://buildbot.python.org/#/builders/14/builds/7291https://buildbot.python.org/#/builders/14/builds/7291
da4899bhttps://github.com/python/cpython/commit/da4899b94a9a9083fed4972b2473546e0d997727
https://buildbot.python.org/#/builders/14/builds/7291https://buildbot.python.org/#/builders/14/builds/7291
Please reload this pagehttps://github.com/python/cpython/pull/116392
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Feb 28, 2025https://github.com/python/cpython/pull/116392#issuecomment-2691637601
da4899bhttps://github.com/python/cpython/commit/da4899b94a9a9083fed4972b2473546e0d997727
the buildbot page in the devguidehttps://devguide.python.org/buildbots/
https://buildbot.python.org/#/builders/350/builds/7433https://buildbot.python.org/#/builders/350/builds/7433
da4899bhttps://github.com/python/cpython/commit/da4899b94a9a9083fed4972b2473546e0d997727
https://buildbot.python.org/#/builders/350/builds/7433https://buildbot.python.org/#/builders/350/builds/7433
Please reload this pagehttps://github.com/python/cpython/pull/116392
barneygalehttps://github.com/barneygale
Mar 1, 2025 https://github.com/python/cpython/pull/116392#ref-commit-43a9885
https://github.com/barneygale
Revert "https://github.com/barneygale/cpython/commit/43a9885f59792338948bcb4645b02d170a6a9cd4
pythonGH-116380https://github.com/python/cpython/issues/116380
: Speed uphttps://github.com/barneygale/cpython/commit/43a9885f59792338948bcb4645b02d170a6a9cd4
glob.[i]glob()https://github.com/barneygale/cpython/commit/43a9885f59792338948bcb4645b02d170a6a9cd4
by making fewer sy…https://github.com/barneygale/cpython/commit/43a9885f59792338948bcb4645b02d170a6a9cd4
43a9885https://github.com/barneygale/cpython/commit/43a9885f59792338948bcb4645b02d170a6a9cd4
python#116392https://github.com/python/cpython/pull/116392
da4899bhttps://github.com/barneygale/cpython/commit/da4899b94a9a9083fed4972b2473546e0d997727
barneygalehttps://github.com/barneygale
Mar 1, 2025 https://github.com/python/cpython/pull/116392#ref-commit-5326c27
https://github.com/barneygale
Revert "https://github.com/python/cpython/commit/5326c27fc674713879747e61a8deca7a66e69754
GH-116380https://github.com/python/cpython/issues/116380
: Speed uphttps://github.com/python/cpython/commit/5326c27fc674713879747e61a8deca7a66e69754
glob.[i]glob()https://github.com/python/cpython/commit/5326c27fc674713879747e61a8deca7a66e69754
by making fewer system c…https://github.com/python/cpython/commit/5326c27fc674713879747e61a8deca7a66e69754
5326c27https://github.com/python/cpython/commit/5326c27fc674713879747e61a8deca7a66e69754
#116392https://github.com/python/cpython/pull/116392
#130743https://github.com/python/cpython/pull/130743
da4899bhttps://github.com/python/cpython/commit/da4899b94a9a9083fed4972b2473546e0d997727
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Aug 6, 2025 https://github.com/python/cpython/pull/116392#ref-pullrequest-3297313129
GH-116380: Speed up glob.[i]glob() by making fewer system calls (take 2) #137474 https://github.com/python/cpython/pull/137474
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%2F116392
https://github.com/eendebakpt
eendebakpt https://github.com/eendebakpt
https://github.com/python/cpython/pull/116392/files/ec157a1646f35b3398f4ce73f4f9d0ba0db4be81
https://github.com/eryksun
eryksun https://github.com/eryksun
https://github.com/python/cpython/pull/116392/files/a94f2a7b4bf38aeaa0cd22d16c946b937aa20b64
https://github.com/picnixz
picnixz https://github.com/picnixz
https://github.com/python/cpython/pull/116392/files/a69a060b134c665dacf6aaaaf9c316a6d016902a
https://github.com/serhiy-storchaka
serhiy-storchaka https://github.com/serhiy-storchaka
https://github.com/gpshead
gpshead https://github.com/gpshead
https://github.com/Privat33r-dev
Privat33r-dev https://github.com/Privat33r-dev
https://github.com/python/cpython/pull/116392/files/fa951f6f3301c0b9a8c23467df1e51ff74849cbf
performance https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Aperformance
Please reload this pagehttps://github.com/python/cpython/pull/116392
https://github.com/barneygale
https://github.com/eendebakpt
https://github.com/picnixz
https://github.com/bedevere-bot
https://github.com/gpshead
https://github.com/eryksun
https://github.com/serhiy-storchaka
https://github.com/Privat33r-dev
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.