[issue8957] strptime(.., '%c') fails to parse output of strftime('%c', ..) in some locales

Eli Bendersky report at bugs.python.org
Sun Jan 16 06:28:48 CET 2011


Eli Bendersky <eliben at gmail.com> added the comment:

Alexander, but still - this isn't just an implementation of strptime. strptime, AFAIU strptime gets the format string as a parameter and uses it to parse a date string into a "tm" struct. So why do we need to parse a date string *without* a format string in Python, resorting to heuristics and pseudo-AI instead?

----------

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


More information about the Python-bugs-list mailing list