[Python-Dev] xmlrpclib and dates before 1900

Ralf Schmitt schmir at gmail.com
Thu Apr 3 09:34:27 CEST 2008


On Thu, Apr 3, 2008 at 5:52 AM, Guido van Rossum <guido at python.org> wrote:

>
> I'd like to see this fixed if possible, but I'm not sure how -- the C
> level 'struct tm' has (year - 1900) in the tm_year member, and I'm not
> sure that implementations are required to do anything with negative
> values there. We'd have to reimplement all of strftime ourselves. I'm
> not against that, but there are higher priorities.
>

Have you considered using the pure python datetime implementation from the
pypy project for py3k?
It's even based on your own code :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-dev/attachments/20080403/51c43b85/attachment.htm 


More information about the Python-Dev mailing list