Barry A. Warsaw <ba...@python.org> added the comment: On Oct 3, 2017, at 23:51, INADA Naoki <rep...@bugs.python.org> wrote: >> It's better to keep the re.IGNORECASE since the RFC also says: >> >> Both 'encoding' and 'charset' names are case-independent. Thus the >> charset name "ISO-8859-1" is equivalent to "iso-8859-1", and the >> encoding named "Q" may be spelled either "Q" or "q". > > I'm sorry, I've committed before reading this. > But I think it's not problem, because re.IGNORECASE doesn't affect to > "(?P<charset>[^?]*?)" pattern.
I think you’re change is fine, no need to revert or modify it. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue31677> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com