[issue25409] fnmatch.fnmatch normalizes slashes/backslashes on Windows

2017-06-10 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: This has been fixed, and backported to 2.7, 3.5, and 3.6. Thanks :) -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue25409] fnmatch.fnmatch normalizes slashes/backslashes on Windows

2017-06-10 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: New changeset 9660a7e4bbc3932846fcde0e31856b5b3908b834 by Mariatta in branch '2.7': bpo-25409: Clarify fnmatch and fnmatchcase documentation (GH-1535) (GH-2067) https://github.com/python/cpython/commit/9660a7e4bbc3932846fcde0e31856b5b3908b834 --

[issue25409] fnmatch.fnmatch normalizes slashes/backslashes on Windows

2017-06-10 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: New changeset 656f232131e7a49800662119c7f9b8078729e697 by Mariatta in branch '3.5': bpo-25409: Clarify fnmatch and fnmatchcase documentation (GH-1535) (GH-2066) https://github.com/python/cpython/commit/656f232131e7a49800662119c7f9b8078729e697 --

[issue25409] fnmatch.fnmatch normalizes slashes/backslashes on Windows

2017-06-10 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: New changeset 76eabd3a21dc578de6093d45dd8d69a5ec4b9afe by Mariatta in branch '3.6': bpo-25409: Clarify fnmatch and fnmatchcase documentation (GH-1535) (GH-2065) https://github.com/python/cpython/commit/76eabd3a21dc578de6093d45dd8d69a5ec4b9afe --

[issue25409] fnmatch.fnmatch normalizes slashes/backslashes on Windows

2017-06-09 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- pull_requests: +2131 ___ Python tracker ___ ___

[issue25409] fnmatch.fnmatch normalizes slashes/backslashes on Windows

2017-06-09 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- pull_requests: +2130 ___ Python tracker ___ ___

[issue25409] fnmatch.fnmatch normalizes slashes/backslashes on Windows

2017-06-09 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: New changeset e5f6e86c48c7b2eb9e1d6a0e72867b4d8b4720f3 by Mariatta (csabella) in branch 'master': bpo-25409: Clarify fnmatch and fnmatchcase documentation (GH-1535) https://github.com/python/cpython/commit/e5f6e86c48c7b2eb9e1d6a0e72867b4d8b4720f3 --

[issue25409] fnmatch.fnmatch normalizes slashes/backslashes on Windows

2017-06-09 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- pull_requests: +2129 ___ Python tracker ___ ___

[issue25409] fnmatch.fnmatch normalizes slashes/backslashes on Windows

2017-05-10 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: Yes, PR 1535 is indeed linked to this issue, if you're reading it from the bug tracker. The pull request number you see from the notification email (+1634) refers to the pull_request item in the bug tracker (https://bugs.python.org/pull_request1634). This

[issue25409] fnmatch.fnmatch normalizes slashes/backslashes on Windows

2017-05-10 Thread Florian Bruhin
Florian Bruhin added the comment: https://github.com/python/cpython/pull/1535 seems to be the correct PR, not 1634. -- ___ Python tracker ___

[issue25409] fnmatch.fnmatch normalizes slashes/backslashes on Windows

2017-05-10 Thread Cheryl Sabella
Changes by Cheryl Sabella : -- pull_requests: +1634 ___ Python tracker ___ ___

[issue25409] fnmatch.fnmatch normalizes slashes/backslashes on Windows

2015-12-31 Thread Ezio Melotti
Changes by Ezio Melotti : -- assignee: -> docs@python components: +Documentation, Windows keywords: +easy nosy: +docs@python ___ Python tracker

[issue25409] fnmatch.fnmatch normalizes slashes/backslashes on Windows

2015-10-15 Thread R. David Murray
R. David Murray added the comment: I think the existing behavior is the desirable behavior, but in any case as you say it is too late to change it. The docs should indeed be clarified by changing the wording to indicate that fnmatch calls normcase but fnmatchcase does not, with a link to

[issue25409] fnmatch.fnmatch normalizes slashes/backslashes on Windows

2015-10-15 Thread Florian Bruhin
New submission from Florian Bruhin: On Windows 8: >>> fnmatch.fnmatch(r'foo\bar', 'foo/bar') True >>> fnmatch.fnmatchcase(r'foo\bar', 'foo/bar') False This is due to fnmatch calling os.path.normpath on the arguments (to get the case-sensitivity of the filesystem), which on Windows *also*