R. David Murray
ca126a02ea
Merged revisions 82766 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
Since 'purge' is an API change, modified it to be _purge for 3.1
and deleted the doc update.
........
r82766 | r.david.murray | 2010-07-10 09:52:13 -0400 (Sat, 10 Jul 2010) | 5 lines
Fix 'refleak' introduced by fnmatch cache purge tests.
This introduces a 'purge' function for the fnmatch module analogous
to the 'purge' function in the re module.
........
2010-07-10 14:00:10 +00:00
R. David Murray
ead883a366
Merged revisions 82730-82731 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82730 | r.david.murray | 2010-07-09 08:23:21 -0400 (Fri, 09 Jul 2010) | 4 lines
7846: limit fnmatch pattern cache to _MAXCACHE=100 entries.
Patch by Andrew Clegg.
........
r82731 | r.david.murray | 2010-07-09 09:14:03 -0400 (Fri, 09 Jul 2010) | 2 lines
Fix sort order mistake in Misc/ACKS.
........
2010-07-09 13:16:26 +00:00
Gregory P. Smith
6c4a725a37
Merged revisions 74476 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r74476 | gregory.p.smith | 2009-08-16 11:58:46 -0700 (Sun, 16 Aug 2009) | 9 lines
Merged revisions 74475 via svnmerge from
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.
........
................
2009-11-01 20:36:24 +00:00
Guido van Rossum
3f2291f802
Change fnmatch.py to use separate caches for str and bytes keys.
...
This is necessary to pass the tests with -bb.
2008-10-03 16:38:30 +00:00
Guido van Rossum
f0af3e30db
Issue #3187 : Better support for "undecodable" filenames. Code by Victor
...
Stinner, with small tweaks by GvR.
2008-10-02 18:55:37 +00:00
Raymond Hettinger
4a4296ec29
SF patch #765238 : fix fnmatch.__all__
...
(Contributed by George Yoshida.)
2003-07-13 16:06:26 +00:00
Raymond Hettinger
54f0222547
SF 563203. Replaced 'has_key()' with 'in'.
2002-06-01 14:18:47 +00:00
Martin v. Löwis
b5d4d2a7d5
Patch #409973 : Speedup glob.glob, add fnmatch.filter.
2001-06-06 06:24:38 +00:00
Fred Drake
46d9fda008
Donovan Baarda <abo@users.sourceforge.net>:
...
Patch to make "\" in a character group work properly.
This closes SF bug #409651 .
2001-03-21 18:05:48 +00:00
Skip Montanaro
eccd02a40d
more __all__ updates
2001-01-20 23:34:12 +00:00
Tim Peters
88869f9787
Whitespace normalization.
2001-01-14 23:36:06 +00:00
Jeremy Hylton
a05e293a21
typos fixed by Rob Hooft
2000-06-28 14:48:01 +00:00
Guido van Rossum
9694fcab53
Convert all remaining *simple* cases of regex usage to re usage.
1997-10-22 21:00:49 +00:00
Guido van Rossum
7e4b2def34
changes for the Mac
1995-01-27 02:41:45 +00:00
Guido van Rossum
3ec6c1d401
Get rid of debug print statement.
1992-01-14 18:27:26 +00:00
Guido van Rossum
05e5219f53
Rewritten using regex.
1992-01-12 23:29:29 +00:00
Guido van Rossum
bdfcfccbe5
New == syntax
1992-01-01 19:35:13 +00:00
Guido van Rossum
fc61383fad
Support [...] ranges. Also [!...] for negated ranges, SYSV shell style.
1991-04-07 13:40:02 +00:00
Guido van Rossum
762c39e9d2
Initial revision
1991-01-01 18:11:14 +00:00