[Python-Dev] Python strptime

Brett Cannon bac@OCF.Berkeley.EDU
Mon, 17 Jun 2002 22:32:45 -0700 (PDT)


On Mon, 17 Jun 2002, Gustavo Niemeyer wrote:

> > That is the type of info I am looking for, but it is not portable.
> > Windows does not have this functionality to my knowledge.  If it did it is
> > stupid that it does not have strptime built-in.  ANSI C, unfortunately,
> > does not provide a way to get this info directly.  This is why I have to
> > get it from strftime.
>
> Well, providing strftime and not strptime is stupid already, following
> your point of view. :-)
>

Yeah.  =)  Since it is just reversed it is not that difficult once you
have the locale information.  The most difficult part of this whole module
was trying to come up with a way to get that information.

> --
> Gustavo Niemeyer
>

-Brett C.