René's URL Explorer Experiment


Title: GH-77609: Add follow_symlinks argument to `pathlib.Path.glob()` by barneygale · Pull Request #102616 · python/cpython · GitHub

Open Graph Title: GH-77609: Add follow_symlinks argument to `pathlib.Path.glob()` by barneygale · Pull Request #102616 · python/cpython

X Title: GH-77609: Add follow_symlinks argument to `pathlib.Path.glob()` by barneygale · Pull Request #102616 · python/cpython

Description: Add a keyword-only follow_symlinks parameter to pathlib.Path.glob() and rglob(). When follow_symlinks is None (the default), these methods follow symlinks except when evaluating "**" wildcards. When set to true or false, symlinks are always or never followed, respectively. This allows us to address GH-102613 in future. Issue: gh-77609

Open Graph Description: Add a keyword-only follow_symlinks parameter to pathlib.Path.glob() and rglob(). When follow_symlinks is None (the default), these methods follow symlinks except when evaluating "**" wild...

X Description: Add a keyword-only follow_symlinks parameter to pathlib.Path.glob() and rglob(). When follow_symlinks is None (the default), these methods follow symlinks except when evaluating "**&qu...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:f795c09e-ba1b-f233-9c98-cf61da9896aa
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD5BE:23D843:11BE3A:178D92:6969B774
html-safe-noncef17484eb1af8fe3b6564523405ad19057b27322ce1c716c4c06299d1c2820c22
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENUJFOjIzRDg0MzoxMUJFM0E6MTc4RDkyOjY5NjlCNzc0IiwidmlzaXRvcl9pZCI6IjUxMDkyMjA3NDQwNzEwNjc1MDgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac448db08a7637d8118221ee96cd7826fd5f4a5146b1ecbe584ba0c7805baaba80
hovercard-subject-tagpull_request:1272214434
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/102616/files
twitter:imagehttps://avatars.githubusercontent.com/u/960340?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/960340?s=400&v=4
og:image:altAdd a keyword-only follow_symlinks parameter to pathlib.Path.glob() and rglob(). When follow_symlinks is None (the default), these methods follow symlinks except when evaluating "**" wild...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneacedec8b5f975d9e3d494ddd8f949b0b8a0de59d393901e26f73df9dcba80056
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
release83c08c21cdda978090dc44364b71aa5bc6dcea79
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/102616/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F102616%2Ffiles
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%2F102616%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/102616/files
Reloadhttps://github.com/python/cpython/pull/102616/files
Reloadhttps://github.com/python/cpython/pull/102616/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/102616/files
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/102616/files
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
barneygalehttps://github.com/barneygale
python:mainhttps://github.com/python/cpython/tree/main
barneygale:gh-77609-glob-follow-symlinkshttps://github.com/barneygale/cpython/tree/gh-77609-glob-follow-symlinks
Conversation 31 https://github.com/python/cpython/pull/102616
Commits 17 https://github.com/python/cpython/pull/102616/commits
Checks 0 https://github.com/python/cpython/pull/102616/checks
Files changed https://github.com/python/cpython/pull/102616/files
Please reload this pagehttps://github.com/python/cpython/pull/102616/files
GH-77609: Add follow_symlinks argument to pathlib.Path.glob() https://github.com/python/cpython/pull/102616/files#top
Show all changes 17 commits https://github.com/python/cpython/pull/102616/files
59dcdb1 GH-77609: Support following symlinks in `pathlib.Path.glob()` barneygale Mar 12, 2023 https://github.com/python/cpython/pull/102616/commits/59dcdb124bc78ea56dc033b3c6e17bbc2ca13e07
e850bde Fix top-level error handling. barneygale Mar 12, 2023 https://github.com/python/cpython/pull/102616/commits/e850bde979b7ffb311f5f27b06154e98cb450c3f
4f4ffd3 Always follow top-level symlink barneygale Mar 12, 2023 https://github.com/python/cpython/pull/102616/commits/4f4ffd3969e74156845f0e0c28e9b9430127a7b1
b6c019e Simplify test diff slightly barneygale Mar 12, 2023 https://github.com/python/cpython/pull/102616/commits/b6c019eebde58197e1028ce9749e3ab9282e5fe2
8d657ee Clarify docs for *follow_symlinks* argument barneygale Mar 14, 2023 https://github.com/python/cpython/pull/102616/commits/8d657eeaf421e3defee08fe5ff585bbd11a7cf65
b600363 Backwards compatibility barneygale Mar 14, 2023 https://github.com/python/cpython/pull/102616/commits/b6003638c6a2befdd2448113b56fcc113f4f9e59
b2766f8 Fix handling of '..' in patterns. barneygale Mar 14, 2023 https://github.com/python/cpython/pull/102616/commits/b2766f8b2237bea8d335f792a8e160ffc10b13e2
8704d33 Deprecate follow_symlinks=None barneygale Mar 14, 2023 https://github.com/python/cpython/pull/102616/commits/8704d33e0d36ba895cf540a3a49c1984c49ac133
6f7a83a Fix news barneygale Mar 14, 2023 https://github.com/python/cpython/pull/102616/commits/6f7a83afac0abb94b703c8f5facbb7f9bff253d6
5fb7d28 Merge branch 'main' into gh-77609-glob-follow-symlinks barneygale May 3, 2023 https://github.com/python/cpython/pull/102616/commits/5fb7d28889d57cc8482613fb2cdcd918153aa8a6
ce7973f Revert "Fix news" barneygale May 10, 2023 https://github.com/python/cpython/pull/102616/commits/ce7973fc60715d91ec651cbce3fff597a39d84ce
2db28d9 Revert "Deprecate follow_symlinks=None" barneygale May 10, 2023 https://github.com/python/cpython/pull/102616/commits/2db28d924c26539030c2ccdcee90893bb6daae00
d3a3396 Merge branch 'main' into gh-77609-glob-follow-symlinks barneygale May 10, 2023 https://github.com/python/cpython/pull/102616/commits/d3a33966a665c2610c0f48398552c8a9cecfa63f
6c61822 Merge branch 'main' into gh-77609-glob-follow-symlinks barneygale May 11, 2023 https://github.com/python/cpython/pull/102616/commits/6c61822c9c5ea7c14bacf37d8776482a62f64ada
3722b64 Merge branch 'main' into gh-77609-glob-follow-symlinks barneygale May 15, 2023 https://github.com/python/cpython/pull/102616/commits/3722b64466d6edb7f5f093b0a84598e6d2d204e6
9700dd1 Merge branch 'main' into gh-77609-glob-follow-symlinks barneygale May 23, 2023 https://github.com/python/cpython/pull/102616/commits/9700dd13a9e2ad47d3eb38b817ed27992788fb0f
4f2a492 Re-target to 3.13 barneygale May 23, 2023 https://github.com/python/cpython/pull/102616/commits/4f2a49290dfedb609946e1bcd0dc5656cd5bca63
Clear filters https://github.com/python/cpython/pull/102616/files
Please reload this pagehttps://github.com/python/cpython/pull/102616/files
Please reload this pagehttps://github.com/python/cpython/pull/102616/files
pathlib.rst https://github.com/python/cpython/pull/102616/files#diff-1134e36a94ecfde1df43bee5efd285de5d67426fbca086425201ecc753f9139c
3.13.rst https://github.com/python/cpython/pull/102616/files#diff-0eef04c1aae0cf8389945464f271ff6789259ef8985f5fdbb21c9a99c4b5021f
pathlib.py https://github.com/python/cpython/pull/102616/files#diff-fa525485738fc33d05b06c159172ff1f319c26e88d8c6bb39f7dbaae4dc4105c
test_pathlib.py https://github.com/python/cpython/pull/102616/files#diff-3dd97d2dc8816848d0b0c442e8fdeec9650b3de77935289a93f37ac6396ee17f
2023-03-12-03-37-03.gh-issue-77609.aOQttm.rst https://github.com/python/cpython/pull/102616/files#diff-e9bec43966cfadca77f1eb142b33ea36e8dcfeeda4ccbad9c66a905a6edf64c8
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L525
Doc/library/pathlib.rsthttps://github.com/python/cpython/pull/102616/files#diff-1134e36a94ecfde1df43bee5efd285de5d67426fbca086425201ecc753f9139c
View file https://github.com/barneygale/cpython/blob/4f2a49290dfedb609946e1bcd0dc5656cd5bca63/Doc/library/pathlib.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/102616/{{ revealButtonHref }}
https://github.com/python/cpython/pull/102616/files#diff-1134e36a94ecfde1df43bee5efd285de5d67426fbca086425201ecc753f9139c
https://github.com/python/cpython/pull/102616/files#diff-1134e36a94ecfde1df43bee5efd285de5d67426fbca086425201ecc753f9139c
https://github.com/python/cpython/pull/102616/files#diff-1134e36a94ecfde1df43bee5efd285de5d67426fbca086425201ecc753f9139c
https://github.com/python/cpython/pull/102616/files#diff-1134e36a94ecfde1df43bee5efd285de5d67426fbca086425201ecc753f9139c
https://github.com/python/cpython/pull/102616/files#diff-1134e36a94ecfde1df43bee5efd285de5d67426fbca086425201ecc753f9139c
https://github.com/python/cpython/pull/102616/files#diff-1134e36a94ecfde1df43bee5efd285de5d67426fbca086425201ecc753f9139c
https://github.com/python/cpython/pull/102616/files#diff-1134e36a94ecfde1df43bee5efd285de5d67426fbca086425201ecc753f9139c
https://github.com/python/cpython/pull/102616/files#diff-1134e36a94ecfde1df43bee5efd285de5d67426fbca086425201ecc753f9139c
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L114
Doc/whatsnew/3.13.rsthttps://github.com/python/cpython/pull/102616/files#diff-0eef04c1aae0cf8389945464f271ff6789259ef8985f5fdbb21c9a99c4b5021f
View file https://github.com/barneygale/cpython/blob/4f2a49290dfedb609946e1bcd0dc5656cd5bca63/Doc/whatsnew/3.13.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/102616/{{ revealButtonHref }}
https://github.com/python/cpython/pull/102616/files#diff-0eef04c1aae0cf8389945464f271ff6789259ef8985f5fdbb21c9a99c4b5021f
https://github.com/python/cpython/pull/102616/files#diff-0eef04c1aae0cf8389945464f271ff6789259ef8985f5fdbb21c9a99c4b5021f
Lib/pathlib.pyhttps://github.com/python/cpython/pull/102616/files#diff-fa525485738fc33d05b06c159172ff1f319c26e88d8c6bb39f7dbaae4dc4105c
View file https://github.com/barneygale/cpython/blob/4f2a49290dfedb609946e1bcd0dc5656cd5bca63/Lib/pathlib.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/102616/{{ revealButtonHref }}
https://github.com/python/cpython/pull/102616/files#diff-fa525485738fc33d05b06c159172ff1f319c26e88d8c6bb39f7dbaae4dc4105c
https://github.com/python/cpython/pull/102616/files#diff-fa525485738fc33d05b06c159172ff1f319c26e88d8c6bb39f7dbaae4dc4105c
https://github.com/python/cpython/pull/102616/files#diff-fa525485738fc33d05b06c159172ff1f319c26e88d8c6bb39f7dbaae4dc4105c
https://github.com/python/cpython/pull/102616/files#diff-fa525485738fc33d05b06c159172ff1f319c26e88d8c6bb39f7dbaae4dc4105c
https://github.com/python/cpython/pull/102616/files#diff-fa525485738fc33d05b06c159172ff1f319c26e88d8c6bb39f7dbaae4dc4105c
https://github.com/python/cpython/pull/102616/files#diff-fa525485738fc33d05b06c159172ff1f319c26e88d8c6bb39f7dbaae4dc4105c
https://github.com/python/cpython/pull/102616/files#diff-fa525485738fc33d05b06c159172ff1f319c26e88d8c6bb39f7dbaae4dc4105c
https://github.com/python/cpython/pull/102616/files#diff-fa525485738fc33d05b06c159172ff1f319c26e88d8c6bb39f7dbaae4dc4105c
https://github.com/python/cpython/pull/102616/files#diff-fa525485738fc33d05b06c159172ff1f319c26e88d8c6bb39f7dbaae4dc4105c
https://github.com/python/cpython/pull/102616/files#diff-fa525485738fc33d05b06c159172ff1f319c26e88d8c6bb39f7dbaae4dc4105c
https://github.com/python/cpython/pull/102616/files#diff-fa525485738fc33d05b06c159172ff1f319c26e88d8c6bb39f7dbaae4dc4105c
Lib/test/test_pathlib.pyhttps://github.com/python/cpython/pull/102616/files#diff-3dd97d2dc8816848d0b0c442e8fdeec9650b3de77935289a93f37ac6396ee17f
View file https://github.com/barneygale/cpython/blob/4f2a49290dfedb609946e1bcd0dc5656cd5bca63/Lib/test/test_pathlib.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/102616/{{ revealButtonHref }}
https://github.com/python/cpython/pull/102616/files#diff-3dd97d2dc8816848d0b0c442e8fdeec9650b3de77935289a93f37ac6396ee17f
https://github.com/python/cpython/pull/102616/files#diff-3dd97d2dc8816848d0b0c442e8fdeec9650b3de77935289a93f37ac6396ee17f
https://github.com/python/cpython/pull/102616/files#diff-3dd97d2dc8816848d0b0c442e8fdeec9650b3de77935289a93f37ac6396ee17f
https://github.com/python/cpython/pull/102616/files#diff-3dd97d2dc8816848d0b0c442e8fdeec9650b3de77935289a93f37ac6396ee17f
Misc/NEWS.d/next/Library/2023-03-12-03-37-03.gh-issue-77609.aOQttm.rsthttps://github.com/python/cpython/pull/102616/files#diff-e9bec43966cfadca77f1eb142b33ea36e8dcfeeda4ccbad9c66a905a6edf64c8
View file https://github.com/barneygale/cpython/blob/4f2a49290dfedb609946e1bcd0dc5656cd5bca63/Misc/NEWS.d/next/Library/2023-03-12-03-37-03.gh-issue-77609.aOQttm.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/102616/{{ revealButtonHref }}
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.