[Python-Dev] Python strptime
Tue, 18 Jun 2002 11:20:00 -0700 (PDT)
On Tue, 18 Jun 2002, Guido van Rossum wrote:
> > I wonder what the purpose of having a pure-Python implementation of
> > strptime is, if you have to rely on strftime. Is this for Windows only?
> Isn't the problem that strftime() is in the C standard but strptime()
> is not? So strptime() isn't always provided but we can count on
Exactly. For some reason ANSI decided to go to the trouble of requiring
strftime(), and thus all of the locale info for it, but not strptime()
nor a standard way to expose that locale info for the programmer to use.
> --Guido van Rossum (home page: http://www.python.org/~guido/)