[New-bugs-announce] [issue2014] xmlrpclib cannot send datetime objects with dates before 1900

Ralf Schmitt report at bugs.python.org
Wed Feb 6 00:12:37 CET 2008


New submission from Ralf Schmitt:

xmlrpclib uses datetime.strftime which cannot handle dates before 1900.
this patch adds a custom date formatting function, which does not have
this restriction. It also contains 2 additional unit tests, which both
fail with the unpatched version.

----------
components: Library (Lib)
files: xmlrpc_date_before_1900.txt
messages: 62082
nosy: schmir
severity: normal
status: open
title: xmlrpclib cannot send datetime objects with dates before 1900
type: behavior
versions: Python 2.5, Python 2.6
Added file: http://bugs.python.org/file9358/xmlrpc_date_before_1900.txt

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2014>
__________________________________


More information about the New-bugs-announce mailing list