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

Amaury Forgeot d'Arc report at bugs.python.org
Wed Jun 24 01:19:01 CEST 2009


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

Here is an updated patch, with tests.

The only thing that bugs me is the name of the method: date.strptime() 
seems a bit odd, given that it cannot accept a time part...
OTOH 'strptime' refers to the format specification: %Y-%m-%d

----------
keywords: +needs review -patch
nosy: +amaury.forgeotdarc
Added file: http://bugs.python.org/file14351/date-strptime.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1100942>
_______________________________________


More information about the Python-bugs-list mailing list