[Python-Dev] xmlrpclib and dates before 1900

Guido van Rossum guido at python.org
Fri Apr 4 05:59:13 CEST 2008

Someone else will have to do a thorough code review. Last time we got
something off the web it turned out to be awful (the float formatting
code -- I'm still reeling from that one).

On Thu, Apr 3, 2008 at 8:48 PM,  <skip at pobox.com> wrote:
>     Guido> Thinking about it more, given the slim chances that we'll
>     Guido> reimplement strftime, I think it's okay to fix this for xmlrpc
>     Guido> specifically.
>  Is there some reason we can't incorporate a suitable open source
>  implementation of strftime into the Python core?  Here's one example that
>  might provide a suitable starting point (BSD 4.4, then Tcl, then Apple
>  heritage):
>     http://www.opensource.apple.com/darwinsource/WWDC2003/tcl-10/tcl/compat/strftime.c
>  It would probably need some tweaks for Windows, and some changes to the
>  macro usage.  Then there is the 1900 base year issue.  I'm certainly no
>  licensing expert, but it seems like we should be able to redistribute it.
>  Skip

--Guido van Rossum (home page: http://www.python.org/~guido/)

More information about the Python-Dev mailing list