[issue2014] xmlrpclib cannot send datetime objects with dates before 1900
Ralf Schmitt
report at bugs.python.org
Wed Feb 6 13:18:47 CET 2008
Ralf Schmitt added the comment:
Well, all it basically does is changing calls to obj.strftime to a
custom string formatting function (where obj is a datetime.datetime,
datetime.date or datetime.time). These strftime calls are made during
object marshalling. So, all the objects to be marshalled are created by
the program itself. The datetime module allows those dates to be
created, so I think it should be safe.
The unmarshalling code did not change, so it's possible to receive a
date before 1900, but not to send it back...
But to answer your question. I don't know, I don't even know a platform,
which use an unsigned time_t.
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2014>
__________________________________
More information about the Python-bugs-list
mailing list