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

Aahz aahz@pythoncraft.com
Mon, 13 Jan 2003 19:40:08 -0500


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.)
-- 
Aahz (aahz@pythoncraft.com)           <*>         http://www.pythoncraft.com/

"I used to have a .sig but I found it impossible to please everyone..."  --SFJ