[issue5239] Change time.strptime() to make it work with Unicode chars

Antoine Pitrou report at bugs.python.org
Fri Feb 13 17:57:17 CET 2009


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

> If we add re.UNICODE on Py2, strptime should work fine with unicode
> strings, but it could fail somehow with normal strings. Is it more
> important to provide a way to use Unicode chars that works only with
> unicode strings or to have a coherent behavior between str and unicode?

I'd say the latter, since str and unicode are often interchangeable in
2.x.

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


More information about the Python-bugs-list mailing list