[issue36898] Add parameter @case_sensitive to glob and rglob in pathlib

2019-05-13 Thread Chuang Men
New submission from Chuang Men : In pathlib, I add a parameter @case_sensitive to glob and rglob. Sometimes the extension would be in upper case but sometimes it would be lower case, for example: *.tif and *.TIF. So the parameter @case_sensitive may be useful in some cases. Usage example

[issue36898] Add parameter @case_sensitive to glob and rglob in pathlib

2019-05-13 Thread Chuang Men
Chuang Men added the comment: It is a good solution but when pattern is long, it might be a little inconvenient. Anyway, just an advice. Thank you for your reply! -- ___ Python tracker <https://bugs.python.org/issue36