This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author The Compiler
Recipients The Compiler, eric.araujo, ezio.melotti, georg.brandl, paul.moore, steve.dower, tim.golden, zach.ware
Date 2015-10-15.06:04:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
On Windows 8:

>>> fnmatch.fnmatch(r'foo\bar', 'foo/bar')
>>> fnmatch.fnmatchcase(r'foo\bar', 'foo/bar')

This is due to fnmatch calling os.path.normpath on the arguments (to get the case-sensitivity of the filesystem), which on Windows *also* happens to normalize / to \.

It's probably a bad idea to change the behaviour now, but I think at least this should be clarified in the docs.
Date User Action Args
2015-10-15 06:04:51The Compilersetrecipients: + The Compiler, georg.brandl, paul.moore, tim.golden, ezio.melotti, eric.araujo, zach.ware, steve.dower
2015-10-15 06:04:51The Compilersetmessageid: <>
2015-10-15 06:04:50The Compilerlinkissue25409 messages
2015-10-15 06:04:50The Compilercreate