Wcmatch

Latest version: v10.0

Safety actively analyzes 682334 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 8

10.0

- **NEW**: Added `GLOBSTARLONG` which adds support for the Zsh style `***` which acts like `**` with `GLOBSTAR` but
but traverses symlinks.
- **NEW**: `pathlib.match` will respect symlink rules (when the `REALPATH` flag is given). Hidden file rules will
be respected at all times. Enable `DOTALL` to match hidden files.
- **NEW**: Symlinks should not be traversed when `GLOBSTAR` is enabled unless `FOLLOW` is also enabled, but they
should still be matched. Prior to this change, symlinks were not traversed _and_ they were ignored from matching
which contradicts how Bash works and could be confusing to users.
- **FIX**: Fix some inconsistencies with `globmatch` and symlink handling when `REALPATH` is enabled.

9.0

- **NEW**: Remove deprecated function `glob.raw_escape`.
- **NEW**: Officially support Python 3.13.

8.5.2

- **FIX**: Fix `pathlib` issue with inheritance on Python versions greater than 3.12.
- **FIX**: Fix `EXTMATCH` case with `!(...)` patterns.

8.5.1

- **FIX**: Fix issue with type check failure in `wcmatch.glob`.

8.5

- **NEW**: Formally support Python 3.11 (no change).
- **NEW**: Add support for Python 3.12 (`pathlib` changes).
- **NEW**: Drop Python 3.7 support.
- **FIX**: Fix handling of current directory when magic and non-magic patterns are mixed in `glob` pattern list.

8.4.1

- **FIX**: Windows drive path separators should normalize like other path separators.
- **FIX**: Fix a Windows pattern parsing issue that caused absolute paths with ambiguous drives to not parse correctly.

Page 1 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.