Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
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
{{ message }}
python
cpython
Repository navigation
Code
Issues
5k+
(5k+)
Pull requests
2.7k
(2.7k)
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
cpython
Lib
fnmatch.py
on
3.6
User selector
All users
Datepicker
All time
Commit history
Commits on Sep 11, 2016
Issue #22493: Inline flags now should be used only at the start of the
Show description for bd48d27
serhiy-storchaka
committed
bd48d27
View commit details
Copy full SHA for bd48d27
View code at this point
Browse repository at this point
Commits on Sep 8, 2016
#27364: fix "incorrect" uses of escape character in the stdlib.
Show description for 44b548d
bitdancer
committed
44b548d
View commit details
Copy full SHA for 44b548d
View code at this point
Browse repository at this point
Commits on Feb 17, 2013
Set cache sizes to a power-of-two
rhettinger
committed
d0dbb20
View commit details
Copy full SHA for d0dbb20
View code at this point
Browse repository at this point
Commits on Nov 8, 2011
Fix BytesWarnings in fnmatch
pitrou
committed
682ca1e
View commit details
Copy full SHA for 682ca1e
View code at this point
Browse repository at this point
Commits on Oct 20, 2011
Bytes are already distinct from text, so typed=True isn't necessary.
rhettinger
committed
ded203f
View commit details
Copy full SHA for ded203f
View code at this point
Browse repository at this point
Simplify calls in fnmatch.
rhettinger
committed
db84803
View commit details
Copy full SHA for db84803
View code at this point
Browse repository at this point
Commits on Aug 13, 2010
Re-apply r83871.
pitrou
committed
6fdb74f
View commit details
Copy full SHA for 6fdb74f
View code at this point
Browse repository at this point
Commits on Aug 9, 2010
Also temporarily revert r83871, to fix compilation on buildbots
pitrou
committed
f14c263
View commit details
Copy full SHA for f14c263
View code at this point
Browse repository at this point
Issue 7846: fnmatch cache can grow without bound
Show description for 5b0c1e0
rhettinger
committed
5b0c1e0
View commit details
Copy full SHA for 5b0c1e0
View code at this point
Browse repository at this point
Commits on Jul 23, 2010
Make fnmatch be more PEP 8 compliant.
Show description for cc14320
brettcannon
committed
cc14320
View commit details
Copy full SHA for cc14320
View code at this point
Browse repository at this point
Commits on Jul 10, 2010
Fix 'refleak' introduced by fnmatch cache purge tests.
Show description for 0425a8e
bitdancer
committed
0425a8e
View commit details
Copy full SHA for 0425a8e
View code at this point
Browse repository at this point
Commits on Jul 9, 2010
7846: limit fnmatch pattern cache to _MAXCACHE=100 entries.
Show description for ea340a3
bitdancer
committed
ea340a3
View commit details
Copy full SHA for ea340a3
View code at this point
Browse repository at this point
Commits on Aug 16, 2009
Merged revisions 74475 via svnmerge from
Show description for 0109970
gpshead
committed
0109970
View commit details
Copy full SHA for 0109970
View code at this point
Browse repository at this point
Commits on Oct 3, 2008
Change fnmatch.py to use separate caches for str and bytes keys.
Show description for 3f2291f
gvanrossum
committed
3f2291f
View commit details
Copy full SHA for 3f2291f
View code at this point
Browse repository at this point
Commits on Oct 2, 2008
Issue #3187: Better support for "undecodable" filenames. Code by Victor
Show description for f0af3e3
gvanrossum
committed
f0af3e3
View commit details
Copy full SHA for f0af3e3
View code at this point
Browse repository at this point
Commits on Jul 13, 2003
SF patch #765238: fix fnmatch.__all__
Show description for 4a4296e
rhettinger
committed
4a4296e
View commit details
Copy full SHA for 4a4296e
View code at this point
Browse repository at this point
Commits on Jun 1, 2002
SF 563203. Replaced 'has_key()' with 'in'.
rhettinger
committed
54f0222
View commit details
Copy full SHA for 54f0222
View code at this point
Browse repository at this point
Commits on Jun 6, 2001
Patch #409973: Speedup glob.glob, add fnmatch.filter.
loewis
committed
b5d4d2a
View commit details
Copy full SHA for b5d4d2a
View code at this point
Browse repository at this point
Commits on Mar 21, 2001
Donovan Baarda <abo@users.sourceforge.net>:
Show description for 46d9fda
freddrake
committed
46d9fda
View commit details
Copy full SHA for 46d9fda
View code at this point
Browse repository at this point
Commits on Jan 20, 2001
more __all__ updates
Skip Montanaro
committed
eccd02a
View commit details
Copy full SHA for eccd02a
View code at this point
Browse repository at this point
Commits on Jan 14, 2001
Whitespace normalization.
tim-one
committed
88869f9
View commit details
Copy full SHA for 88869f9
View code at this point
Browse repository at this point
Commits on Jun 28, 2000
typos fixed by Rob Hooft
jeremyhylton
committed
a05e293
View commit details
Copy full SHA for a05e293
View code at this point
Browse repository at this point
Commits on Oct 22, 1997
Convert all remaining *simple* cases of regex usage to re usage.
gvanrossum
committed
9694fca
View commit details
Copy full SHA for 9694fca
View code at this point
Browse repository at this point
Commits on Jan 27, 1995
changes for the Mac
gvanrossum
committed
7e4b2de
View commit details
Copy full SHA for 7e4b2de
View code at this point
Browse repository at this point
Commits on Jan 14, 1992
Get rid of debug print statement.
gvanrossum
committed
3ec6c1d
View commit details
Copy full SHA for 3ec6c1d
View code at this point
Browse repository at this point
Commits on Jan 12, 1992
Rewritten using regex.
gvanrossum
committed
05e5219
View commit details
Copy full SHA for 05e5219
View code at this point
Browse repository at this point
Commits on Jan 1, 1992
New == syntax
gvanrossum
committed
bdfcfcc
View commit details
Copy full SHA for bdfcfcc
View code at this point
Browse repository at this point
Commits on Apr 7, 1991
Support [...] ranges. Also [!...] for negated ranges, SYSV shell style.
gvanrossum
committed
fc61383
View commit details
Copy full SHA for fc61383
View code at this point
Browse repository at this point
Commits on Jan 1, 1991
Initial revision
gvanrossum
committed
762c39e
View commit details
Copy full SHA for 762c39e
View code at this point
Browse repository at this point
Loading
You can’t perform that action at this time.