some days ago I uploaded a new patch for this ticket:
http://code.djangoproject.com/ticket/9459
Here is the patch:
http://code.djangoproject.com/attachment/ticket/9459/datetime-microseconds-py25.patch
If the python version is greater-equal than 2.6, it uses %f to parse the microseconds,
for older versions it parses the last integer itself.
Please review it.
Thomas Güttler
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de
Here is the patch:
http://code.djangoproject.com/attachment/ticket/9459/datetime-microseconds-py25.patch
If the python version is greater-equal than 2.6, it uses %f to parse the microseconds,
for older versions it parses the last integer itself.
Sorry, I don't have a Python 2.4 around. Can anyone help?
Thomas
http://code.djangoproject.com/attachment/ticket/9459/datetime-microseconds-py24.patch
I think it is ready for commit.
Thomas
Tobias McNulty wrote:
> On Thu, Sep 9, 2010 at 5:43 AM, Thomas Guettler <h...@tbz-pariv.de
> <mailto:h...@tbz-pariv.de>> wrote:
>
> Here is the patch:
> http://code.djangoproject.com/attachment/ticket/9459/datetime-microseconds-py25.patch
>
> If the python version is greater-equal than 2.6, it uses %f to parse
> the microseconds,
> for older versions it parses the last integer itself.
>
>
> The patch looks reasonable enough to me and I'm excited about getting it
> in. Have you tested it on Python 2.4, 2.5, and 2.6?
>
> Cheers,
> Tobias
--