[issue22407] re.LOCALE is nonsensical for Unicode

Antoine Pitrou report at bugs.python.org
Tue Sep 16 14:36:32 CEST 2014


Antoine Pitrou added the comment:

I don't think we should fix this in 2.x: some people may rely on the old behaviour, and it will be difficult for them to debug.
In 3.x, I simply propose we deprecate re.LOCALE for unicode strings and make it a no-op.

----------

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


More information about the Python-bugs-list mailing list