[Python-Dev] xmlrpclib and dates before 1900
James Y Knight
foom at fuhm.net
Fri Apr 4 05:28:51 CEST 2008
On Apr 2, 2008, at 11:52 PM, Guido van Rossum 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.
At least on linux, negative values work great. I have no idea if
that's required by the spec or not. Someone would have to test on
other platforms I guess...
More information about the Python-Dev