I think I'm missing something, why is case insensitivity a mess? On Mon, Mar 23, 2020 at 9:32 AM Chris Angelico <[email protected]> wrote:
> On Mon, Mar 23, 2020 at 5:06 PM Steve Barnes <[email protected]> > wrote: > > > > I personally think that there is a better case for an ignore_case flag – > the number of times that I have been caught out with [‘a.doc’, ‘b.Doc’, > ‘c.DOC’] especially on MS platforms. > > > > Case insensitivity is a mess. I think it'd be a lot cleaner to keep > this as-is, and for the case insensitive use-case, people can still do > it manually. (Basically case-fold for the comparison, but then trim > from the original as is.) > > ChrisA > _______________________________________________ > Python-ideas mailing list -- [email protected] > To unsubscribe send an email to [email protected] > https://mail.python.org/mailman3/lists/python-ideas.python.org/ > Message archived at > https://mail.python.org/archives/list/[email protected]/message/4Q2X4NSLCD5PBZMJ3TRQ7UGB73JI4AH7/ > Code of Conduct: http://python.org/psf/codeofconduct/ >
_______________________________________________ Python-ideas mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/D75WKOGIJPHLC63TU3BDURIGAVIUERR2/ Code of Conduct: http://python.org/psf/codeofconduct/
