Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-32775: Fix regular expression warnings in fnmatch. (#5583) | Serhiy Storchaka | 2018-02-09 | 1 | -2/+21 |
| | | | | | | | | | 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 | 1 | -1/+1 |
| | | | | | 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 | 1 | -1/+1 |
| | | | | | | | 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 | 1 | -1/+1 |
| | |||||
* | Fix BytesWarnings in fnmatch | Antoine Pitrou | 2011-11-08 | 1 | -1/+1 |
| | |||||
* | Bytes are already distinct from text, so typed=True isn't necessary. | Raymond Hettinger | 2011-10-20 | 1 | -1/+1 |
| | |||||
* | Simplify calls in fnmatch. | Raymond Hettinger | 2011-10-20 | 1 | -5/+5 |
| | |||||
* | Re-apply r83871. | Antoine Pitrou | 2010-08-13 | 1 | -31/+13 |
| | |||||
* | Also temporarily revert r83871, to fix compilation on buildbots | Antoine Pitrou | 2010-08-09 | 1 | -13/+31 |
| | |||||
* | Issue 7846: fnmatch cache can grow without bound | Raymond Hettinger | 2010-08-09 | 1 | -31/+13 |
| | | | | | | 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 | 1 | -8/+11 |
| | | | | 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 | 1 | -1/+6 |
| | | | | | 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 | 1 | -0/+3 |
| | | | | Patch by Andrew Clegg. | ||||
* | Merged revisions 74475 via svnmerge from | Gregory P. Smith | 2009-08-16 | 1 | -1/+1 |
| | | | | | | | | | | 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 | 1 | -3/+5 |
| | | | | 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 | 1 | -10/+17 |
| | | | | Stinner, with small tweaks by GvR. | ||||
* | SF patch #765238: fix fnmatch.__all__ | Raymond Hettinger | 2003-07-13 | 1 | -1/+1 |
| | | | | (Contributed by George Yoshida.) | ||||
* | SF 563203. Replaced 'has_key()' with 'in'. | Raymond Hettinger | 2002-06-01 | 1 | -2/+2 |
| | |||||
* | Patch #409973: Speedup glob.glob, add fnmatch.filter. | Martin v. Löwis | 2001-06-06 | 1 | -0/+20 |
| | |||||
* | Donovan Baarda <abo@users.sourceforge.net>: | Fred Drake | 2001-03-21 | 1 | -9/+5 |
| | | | | | | Patch to make "\" in a character group work properly. This closes SF bug #409651. | ||||
* | more __all__ updates | Skip Montanaro | 2001-01-20 | 1 | -0/+2 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2001-01-14 | 1 | -68/+68 |
| | |||||
* | typos fixed by Rob Hooft | Jeremy Hylton | 2000-06-28 | 1 | -1/+1 |
| | |||||
* | Convert all remaining *simple* cases of regex usage to re usage. | Guido van Rossum | 1997-10-22 | 1 | -9/+6 |
| | |||||
* | changes for the Mac | Guido van Rossum | 1995-01-27 | 1 | -9/+45 |
| | |||||
* | Get rid of debug print statement. | Guido van Rossum | 1992-01-14 | 1 | -1/+0 |
| | |||||
* | Rewritten using regex. | Guido van Rossum | 1992-01-12 | 1 | -65/+45 |
| | |||||
* | New == syntax | Guido van Rossum | 1992-01-01 | 1 | -18/+24 |
| | |||||
* | Support [...] ranges. Also [!...] for negated ranges, SYSV shell style. | Guido van Rossum | 1991-04-07 | 1 | -14/+50 |
| | |||||
* | Initial revision | Guido van Rossum | 1991-01-01 | 1 | -0/+35 |