[Python-Dev] xmlrpclib and dates before 1900

skip at pobox.com skip at pobox.com
Fri Apr 4 05:48:06 CEST 2008


    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


More information about the Python-Dev mailing list