Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | gh-89973: Fix re.error in the fnmatch module. (GH-93072) | Serhiy Storchaka | 2022-06-05 |
| | | | | | | Character ranges with upper bound less that lower bound (e.g. [c-a]) are now interpreted as empty ranges, for compatibility with other glob pattern implementations. Previously it was re.error. | ||
* | bpo-47080: Use atomic groups to simplify fnmatch (GH-32029) | Tim Peters | 2022-03-21 |
| | | | Use re's new atomic groups to greatly simplify the construction of worst-case linear-time patterns. | ||
* | bpo-42799: fnmatch module: bump up size of lru_cache for patterns (GH-27084) | andrei kulakov | 2021-07-15 |
| | |||
* | bpo-36769: Document that fnmatch.filter supports any kind of iterable (#13039) | Andre Delfino | 2020-12-18 |
| | |||
* | bpo-40480: restore ability to join fnmatch.translate() results (GH-20049) | Tim Peters | 2020-05-11 |
| | | | | | | | In translate(), generate unique group names across calls. The restores the undocumented ability to get a valid regexp by joining multiple translate() results via `|`. | ||
* | bpo-40480 "fnmatch" exponential execution time (GH-19908) | Tim Peters | 2020-05-05 |
| | | | | | bpo-40480: create different regexps in the presence of multiple `*` patterns to prevent fnmatch() from taking exponential time. | ||
* | bpo-32775: Fix regular expression warnings in fnmatch. (#5583) | Serhiy Storchaka | 2018-02-09 |
| | | | | | | | | | fnmatch.translate() no longer produces patterns which contain set operations. Sets starting with '[' or containing '--', '&&', '~~' or '||' will be interpreted differently in regular expressions in future versions. Currently they emit warnings. fnmatch.translate() now avoids producing patterns containing such sets by accident. | ||
* | Issue #22493: Inline flags now should be used only at the start of the | Serhiy Storchaka | 2016-09-11 |
| | | | | | regular expression. Deprecation warning is emitted if uses them in the middle of the regular expression. | ||
* | #27364: fix "incorrect" uses of escape character in the stdlib. | R David Murray | 2016-09-08 |
| | | | | | | | And most of the tools. Patch by Emanual Barry, reviewed by me, Serhiy Storchaka, and Martin Panter. | ||
* | Set cache sizes to a power-of-two | Raymond Hettinger | 2013-02-17 |
| | |||
* | Fix BytesWarnings in fnmatch | Antoine Pitrou | 2011-11-08 |
| | |||
* | Bytes are already distinct from text, so typed=True isn't necessary. | Raymond Hettinger | 2011-10-20 |
| | |||
* | Simplify calls in fnmatch. | Raymond Hettinger | 2011-10-20 |
| | |||
* | Re-apply r83871. | Antoine Pitrou | 2010-08-13 |
| | |||
* | Also temporarily revert r83871, to fix compilation on buildbots | Antoine Pitrou | 2010-08-09 |
| | |||
* | Issue 7846: fnmatch cache can grow without bound | Raymond Hettinger | 2010-08-09 |
| | | | | | | Updated to solution to use the functools.lru_cache(). Restores the API so that purge() is not needed (because the cache never gets big). | ||
* | Make fnmatch be more PEP 8 compliant. | Brett Cannon | 2010-07-23 |
| | | | | Partially closes issue 9356. Thanks to Brian Brazil for the patch. | ||
* | Fix 'refleak' introduced by fnmatch cache purge tests. | R. David Murray | 2010-07-10 |
| | | | | | This introduces a 'purge' function for the fnmatch module analogous to the 'purge' function in the re module. | ||
* | 7846: limit fnmatch pattern cache to _MAXCACHE=100 entries. | R. David Murray | 2010-07-09 |
| | | | | Patch by Andrew Clegg. | ||
* | Merged revisions 74475 via svnmerge from | Gregory P. Smith | 2009-08-16 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r74475 | gregory.p.smith | 2009-08-16 11:52:58 -0700 (Sun, 16 Aug 2009) | 2 lines Issue 6665: Fix fnmatch to properly match filenames with newlines in them. ........ | ||
* | Change fnmatch.py to use separate caches for str and bytes keys. | Guido van Rossum | 2008-10-03 |
| | | | | This is necessary to pass the tests with -bb. | ||
* | Issue #3187: Better support for "undecodable" filenames. Code by Victor | Guido van Rossum | 2008-10-02 |
| | | | | Stinner, with small tweaks by GvR. | ||
* | SF patch #765238: fix fnmatch.__all__ | Raymond Hettinger | 2003-07-13 |
| | | | | (Contributed by George Yoshida.) | ||
* | SF 563203. Replaced 'has_key()' with 'in'. | Raymond Hettinger | 2002-06-01 |
| | |||
* | Patch #409973: Speedup glob.glob, add fnmatch.filter. | Martin v. Löwis | 2001-06-06 |
| | |||
* | Donovan Baarda <abo@users.sourceforge.net>: | Fred Drake | 2001-03-21 |
| | | | | | | Patch to make "\" in a character group work properly. This closes SF bug #409651. | ||
* | more __all__ updates | Skip Montanaro | 2001-01-20 |
| | |||
* | Whitespace normalization. | Tim Peters | 2001-01-14 |
| | |||
* | typos fixed by Rob Hooft | Jeremy Hylton | 2000-06-28 |
| | |||
* | Convert all remaining *simple* cases of regex usage to re usage. | Guido van Rossum | 1997-10-22 |
| | |||
* | changes for the Mac | Guido van Rossum | 1995-01-27 |
| | |||
* | Get rid of debug print statement. | Guido van Rossum | 1992-01-14 |
| | |||
* | Rewritten using regex. | Guido van Rossum | 1992-01-12 |
| | |||
* | New == syntax | Guido van Rossum | 1992-01-01 |
| | |||
* | Support [...] ranges. Also [!...] for negated ranges, SYSV shell style. | Guido van Rossum | 1991-04-07 |
| | |||
* | Initial revision | Guido van Rossum | 1991-01-01 |