[issue1100942] Add datetime.time.strptime and datetime.date.strptime

2012-07-20 Thread Juarez Bochi
Juarez Bochi jbo...@gmail.com added the comment: I've updated my patch with the tests for datetime.time.strptime that were missing and also its pure Python implementation. The previous diff also had some issues that I've fixed now: duplicated datetime.strptime method definition in c

[issue1100942] Add datetime.time.strptime and datetime.date.strptime

2012-07-20 Thread Juarez Bochi
Changes by Juarez Bochi jbo...@gmail.com: Removed file: http://bugs.python.org/file26440/issue1100942_pure.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1100942

[issue1100942] Add datetime.time.strptime and datetime.date.strptime

2012-07-20 Thread Juarez Bochi
Juarez Bochi jbo...@gmail.com added the comment: Sorry. I updated my patch again to fix the exception message for time.strptime in the pure Python version. -- Added file: http://bugs.python.org/file26446/issue1100942_pure.diff ___ Python tracker rep

[issue1100942] Add datetime.time.strptime and datetime.date.strptime

2012-07-20 Thread Juarez Bochi
Changes by Juarez Bochi jbo...@gmail.com: Removed file: http://bugs.python.org/file26445/issue1100942_pure.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1100942

[issue1100942] Add datetime.time.strptime and datetime.date.strptime

2012-07-20 Thread Juarez Bochi
Juarez Bochi jbo...@gmail.com added the comment: I've updated the patch based on ezio.melotti and berkerpeksag reviews (thanks). It's still missing the modifications proposed on msg107402. -- Added file: http://bugs.python.org/file26452/issue1100942_pure2.diff

[issue1100942] Add datetime.time.strptime and datetime.date.strptime

2012-07-19 Thread Juarez Bochi
Juarez Bochi jbo...@gmail.com added the comment: I have updated the patches since they were not applying cleanly and included a pure Python implementation that was missing. It has the same issues that were mentioned on msg107402. Do you have any suggestions? I'm planning to block the formats