[Python-Dev] Broken strptime in Python 2.3a1 & CVS

Brett Cannon bac@OCF.Berkeley.EDU
Mon, 13 Jan 2003 16:53:35 -0800 (PST)


[Aahz]

> On Mon, Jan 13, 2003, Brett Cannon wrote:
> >
> > Well, we could tell people that they could import ``_strptime``
> > directly if they want to use the Python version.  I mean this
> > whole issue is solved if people passed their time tuples through I
> > brain-dead simple function that unpacked the tuple and tested that
> > values within the valid range if they weren't gave them values that
> > made sense.  But then the question becomes do we want to do this for
> > the user in the library or should we let them do it themselves.
>
> ...or provide a function that allows them to do it themselves.  (Thereby
> making it easy but not defaulted.)
> --

That is definitely an option.  Heck, I will even volunteer to write it if
this is what people think is the best solution (and I will do it in C, no
less!  =).

-Brett