Wcmatch

Latest version: v8.5.2

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

Scan your dependencies

Page 7 of 8

2.2.0

- **NEW**: Officially support Python 3.8.

2.1.0

- **NEW**: Deprecate `version` and `version_info` in favor of the more standard `__version__` and `__version_info__`.
- **FIX**: Fix issue where negated patterns would trigger before end of path.
- **FIX**: Fix `GLOBSTAR` regular expression pattern issues.

2.0.3

- **FIX**: In `glob`, properly handle files in the current working directory when give a literal pattern that matches it.

2.0.2

- **FIX**: `wcmatch` override events (`on_error` and `on_skip`) should verify the return is **not None** and not **not falsy**.

2.0.1

-**FIX**: Can't install due to requirements being assigned to setup opposed to install.

2.0.0

Breaking Changes
Version 2.0.0 introduces breaking changes in regards to flags. This is meant to bring about consistency amongst the provided libraries. Flag names have been changed in some cases, and logic has been inverted in some cases.

- **NEW**: Glob's `NOBRACE`, `NOGLOBSTAR`, and `NOEXTGLOB` flags are now `BRACE`, `GLOBSTAR`, and `EXTGLOB` and now enable the features instead of disabling the features. This logic matches the provided fnmatch and wcmatch.
- **NEW**: Glob's `DOTGLOB` and `EXTGLOB` also have the respective aliases `DOTMATCH` and `EXTMATCH` to provide consistent flags across provided libraries, but the `GLOB` variants that match Bash's feature names can still be used.
- **NEW**: Fnmatch's `PERIOD` flag has been replaced with `DOTMATCH` with inverted logic from what was originally provided.
- **NEW**: Documentation exposes the shorthand form of flags: `FORCECASE` --> `F`, etc.
- **FIX**: Wcmatch always documented that it had the flag named `EXTMATCH`, but internally it was actually `EXTGLOB`, this was a bug though. `EXTMATCH` is now the documented and the actual flag to use.

Page 7 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.