[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

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

2019-05-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: You can use the pattern '*.[Tt][Ii][Ff]'. -- nosy: +serhiy.storchaka ___ Python tracker ___ ___

[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: In

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

2019-05-13 Thread SilentGhost
Change by SilentGhost : -- pull_requests: +13179 stage: -> patch review versions: +Python 3.8 -Python 3.7 ___ Python tracker ___ __