-
-
Notifications
You must be signed in to change notification settings - Fork 34k
Closed
Labels
3.13bugs and security fixesbugs and security fixes
Description
If include_hidden is false (by default), the dot-starting names are filtered out if the pattern does not start with a dot. If include_hidden is true, no filtering is needed, but the current code still creates a generator expression to filter names with condition which is always true.
It unlikely has measurable effect in most cases, taking into account the time of the IO operations, os.path.join(), etc.
Linked PRs
Metadata
Metadata
Assignees
Labels
3.13bugs and security fixesbugs and security fixes