On Tue, Dec 15, 2009 at 9:47 PM, Tim Roberts <t...@probo.com> wrote: > Tobias Weber <t...@gmx.net> wrote: >> >>despite the directives for leading zero stime.strptime('09121', >>'%y%m%d') returns the first of December. Shouldn't it raise ValueError? > > Python merely calls the strptime function in your C run-time library. If > it sucks, so will time.strptime.
Er, no, wrong: http://svn.python.org/view/python/trunk/Lib/_strptime.py?view=markup Cheers, Chris -- http://blog.rebertia.com -- http://mail.python.org/mailman/listinfo/python-list