| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:f795c09e-ba1b-f233-9c98-cf61da9896aa |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D5BE:23D843:11BE3A:178D92:6969B774 |
| html-safe-nonce | f17484eb1af8fe3b6564523405ad19057b27322ce1c716c4c06299d1c2820c22 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENUJFOjIzRDg0MzoxMUJFM0E6MTc4RDkyOjY5NjlCNzc0IiwidmlzaXRvcl9pZCI6IjUxMDkyMjA3NDQwNzEwNjc1MDgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 448db08a7637d8118221ee96cd7826fd5f4a5146b1ecbe584ba0c7805baaba80 |
| hovercard-subject-tag | pull_request:1272214434 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/102616/files |
| twitter:image | https://avatars.githubusercontent.com/u/960340?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/960340?s=400&v=4 |
| og:image:alt | 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... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | acedec8b5f975d9e3d494ddd8f949b0b8a0de59d393901e26f73df9dcba80056 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 83c08c21cdda978090dc44364b71aa5bc6dcea79 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://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 AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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 |
| Reload | https://github.com/python/cpython/pull/102616/files |
| Reload | https://github.com/python/cpython/pull/102616/files |
| Reload | https://github.com/python/cpython/pull/102616/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://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 page | https://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 service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| barneygale | https://github.com/barneygale |
| python:main | https://github.com/python/cpython/tree/main |
| barneygale:gh-77609-glob-follow-symlinks | https://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 page | https://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 page | https://github.com/python/cpython/pull/102616/files |
| Please reload this page | https://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.rst | https://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.rst | https://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.py | https://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.py | https://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.rst | https://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 |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |