[Python-Dev] Broken strptime in Python 2.3a1 & CVS (original) (raw)

Kevin Jacobs jacobs@penguin.theopalgroup.com
Wed, 8 Jan 2003 19:50:01 -0500 (EST)


On Wed, 8 Jan 2003, Brett Cannon wrote:

[Brett Cannon] > [Kevin Jacobs] > > > [Kevin Jacobs] > Does obviousness come before or > after following a spec? Would setting default values within range but to > their minimum value (so if the month is not known, set it to 1 for Jan > instead of -1) solve your problem, Kevin?

Well, I answered my own questions: "spec comes first", and "setting the default to 0 fixes it". If you need a quick fix, Kevin, I can personally send you a diff (contextual or unified, your choice =) with the change until this gets into CVS. I will put a patch up on SF ASAP and email back here with the patch #.

I appreciate the effort, but please take your time. There is no rush since I have several viable work-arounds. I'll also be happy to test any patches when they're ready.

Thanks again, -Kevin

--

Kevin Jacobs The OPAL Group - Enterprise Systems Architect Voice: (216) 986-0710 x 19 E-mail: jacobs@theopalgroup.com Fax: (216) 986-0714 WWW: http://www.theopalgroup.com