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

github.com

Tin mới

barneygale:gh-77609-glob-follow-symlinks

GitHub CopilotWrite better code with AI

GitHub Copilot appDirect agents from issue to merge

ActionsAutomate any workflow

CodespacesInstant dev environments

IssuesPlan and track work

Code ReviewManage code changes

Code QualityEnforce quality at merge

GitHub Advanced SecurityFind and fix vulnerabilities

Code securitySecure your code as you build

Secret protectionStop leaks before they start

View all use cases

Financial services

View all industries

Software Development

GitHub SponsorsFund open source developers

Copilot for BusinessEnterprise-grade AI features

Premium SupportEnterprise-grade 24/7 support

Pull requests 2.6k

Security and quality 0

pathlib.Path.glob does not follow symlinks #77609

: Support following symlinks in

Fix top-level error handling.

Always follow top-level symlink

Path.rglob performance issues in deeply nested directories compared to glob.glob(recursive=True) #102613

Add parameter @case_sensitive to glob and rglob in pathlib #81079

Simplify test diff slightly

Clarify docs for *follow_symlinks* argument

Backwards compatibility

Fix handling of '..' in patterns.

Deprecate follow_symlinks=None

GH-77609: Support following symlinks in pathlib.Path.glob() #104176

Revert "Fix news" This reverts commit 6f7a83afac0abb94b703c8f5facbb7f9bff253d6.

Revert "Deprecate follow_symlinks=None"

Merge branch 'main' into

Merge branch 'main' into

Merge branch 'main' into

Merge branch 'main' into

awaiting core review

awaiting core review

View reviewed changes

GH-105793: Add follow_symlinks argument to pathlib.Path.is_dir() and is_file() #105794