Re: Problems with datetime.datetime.strptime

2009-05-10 Thread Tuomas Vesterinen
Nick Craig-Wood wrote: Tuomas Vesterinen wrote: I hoped that I could get rid of my special module _strptime2 when porting to Python 3.0. But testing is a disappointment. [snip] C : strftime('%a %b %e %H:%M:%S %Y')='Sat May 9 11:26:12 2009' strptime('Sat May 9 11:26:12 2009','%a %

Re: Problems with datetime.datetime.strptime

2009-05-10 Thread Nick Craig-Wood
Tuomas Vesterinen wrote: > I hoped that I could get rid of my special module _strptime2 when > porting to Python 3.0. But testing is a disappointment. [snip] > C : > strftime('%a %b %e %H:%M:%S %Y')='Sat May 9 11:26:12 2009' > strptime('Sat May 9 11:26:12 2009','%a %b %e %H:%M:%S %Y'

Problems with datetime.datetime.strptime

2009-05-09 Thread Tuomas Vesterinen
I hoped that I could get rid of my special module _strptime2 when porting to Python 3.0. But testing is a disappointment. Python 3.0.1 (r301:69556, Apr 14 2009, 14:30:31) [GCC 4.1.2 20070925 (Red Hat 4.1.2-27)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>>