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.

classification
Title: fnmatchicase for case insensitive file search
Type: Stage:
Components: Versions: Python 3.4, Python 3.5
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: giampaolo.rodola, techtonik, vstinner
Priority: normal Keywords:

Created on 2013-06-02 20:08 by techtonik, last changed 2022-04-11 14:57 by admin.

Messages (3)
msg190499 - (view) Author: anatoly techtonik (techtonik) Date: 2013-06-02 20:08
http://docs.python.org/2/library/glob.html
and
http://docs.python.org/2/library/fnmatch.html

both lack ability to do case-insensitive search for filenames. Due to this difference, scripts that work ok on Windows start produce surprises on Linux.
msg190510 - (view) Author: anatoly techtonik (techtonik) Date: 2013-06-02 23:35
https://gist.github.com/techtonik/5694830
msg190565 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2013-06-03 21:00
The bug tracker is not the best place to discuss adding new features to the standard library. It's better to discuss them first on the python-ideas mailing list. You should also give an use case, explain why do you consider that Python needs this feature, etc. For example, I don't need such functionn and why not converting filenames to lowercase?
History
Date User Action Args
2022-04-11 14:57:46adminsetstatus: pending -> open
github: 62323
2017-05-22 10:46:13serhiy.storchakasetstatus: open -> pending
2013-06-03 21:00:47vstinnersetnosy: + vstinner
messages: + msg190565
2013-06-02 23:35:53techtoniksetmessages: + msg190510
2013-06-02 22:21:20giampaolo.rodolasetnosy: + giampaolo.rodola
2013-06-02 20:08:23techtonikcreate