Add references to the relevant Python issues

This commit is contained in:
Bruno Oliveira 2018-09-19 08:20:23 -03:00 committed by GitHub
parent 37d2469266
commit 1e2e65f0fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -31,6 +31,10 @@ def fnmatch_ex(pattern, path):
This algorithm was ported to keep backward-compatibility with existing settings which assume paths match according
this logic.
References:
* https://bugs.python.org/issue29249
* https://bugs.python.org/issue34731
"""
path = PurePath(path)
iswin32 = sys.platform.startswith("win")