[issue2834] re.IGNORECASE not Unicode-ready

Antoine Pitrou report at bugs.python.org
Sat Jul 5 23:10:13 CEST 2008


Antoine Pitrou <pitrou at free.fr> added the comment:

This new patch adds re.ASCII in all sensitive places I could find in the
stdlib (except lib2to3 which as far as I understand is maintained in a
separate branch, and even has its own copy of tokenize.py...).

Also, I didn't get an answer to the following question on the ML: should
an inline flag "(?a)" be introduced to mirror the existing "(?u)" - so
as to set the ASCII flag from inside a pattern string.

Added file: http://bugs.python.org/file10819/reunicode4.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue2834>
_______________________________________


More information about the Python-bugs-list mailing list