You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on github.com and signed with GitHub’s verified signature.
The key has expired.
8.1
NEW: Add is_magic function to the glob and fnamtch library.
NEW: fnmatch now has escape available via its API. The fnmatch variant uses filename logic instead of path logic.
NEW: Deprecate raw_escape in glob as it is very niche and the same can be accomplished simply by using #!py3 codecs.decode(string, 'unicode_escape') and then using escape.
FIX: Use os.fspath to convert path-like objects to string/bytes, whatever the return from __fspath__ is what Wildcard Match will accept. Don't try to convert paths via __str__ or __bytes__ as not all path-like objects may implement both.
FIX: Better checking of types to ensure consistent failure if the path, pattern, or root directory of are not all of type str or bytes.
FIX: Some internal fixes and refactoring.
FIX: Refactor code to take advantage of bracex's ability to abort parsing on extremely large pattern expansions. Patterns like {1..10000000} will now abort dramatically quicker. Require bracex 2.1.1 which aborts much quicker.
FIX: Fix some corner cases where limit would not abort correctly.