[Python-bugs-list] fnmatch.fnmatch (PR#127)

a.amoroso@alcatel.de a.amoroso@alcatel.de
Thu, 11 Nov 1999 04:03:54 -0500 (EST)


Full_Name: Dr. Andreas Amoroso
Version: 1.5.2
OS: Solaris
Submission from: slspu2.alcatel.de (194.113.59.80)


The function fnmatch.fnmatch() is not case-insensitive as described in
the docs because it uses os.path.normpath() to normalize the case which
is identity in os = posix environments. The call to normpath should be
replaced by a call to string.lower() (as it would be done in normpath)