[issue2014] xmlrpclib cannot send datetime objects with dates before 1900

2008-04-20 Thread Ralf Schmitt
Ralf Schmitt [EMAIL PROTECTED] added the comment: Skip, thanks for handling this. __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2014 __ ___ Python-bugs-list mailing list

[issue2014] xmlrpclib cannot send datetime objects with dates before 1900

2008-04-18 Thread Ralf Schmitt
Ralf Schmitt [EMAIL PROTECTED] added the comment: guido says it's ok to fix the issue in xmlrpclib only: http://mail.python.org/pipermail/python-dev/2008-April/078396.html I'm also attaching a dummy.diff in order to have a patch keyword... If someone is willing to commit this, I'll check if it

[issue2014] xmlrpclib cannot send datetime objects with dates before 1900

2008-04-18 Thread Skip Montanaro
Skip Montanaro [EMAIL PROTECTED] added the comment: working on it -- assignee: - skip.montanaro nosy: +skip.montanaro __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2014 __

[issue2014] xmlrpclib cannot send datetime objects with dates before 1900

2008-04-18 Thread Skip Montanaro
Skip Montanaro [EMAIL PROTECTED] added the comment: Checked in on trunk as r62378. Will let the normal 3.0 merge process suck it over to the py3k branch. -- resolution: - accepted status: open - closed __ Tracker [EMAIL PROTECTED]

[issue2014] xmlrpclib cannot send datetime objects with dates before 1900

2008-02-23 Thread Ralf Schmitt
Ralf Schmitt added the comment: Attaching an updated version of the patch against trunk revision 61011. Added file: http://bugs.python.org/file9520/xmlrpc_date_before_1900_r61011.txt __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2014

[issue2014] xmlrpclib cannot send datetime objects with dates before 1900

2008-02-17 Thread Ralf Schmitt
Ralf Schmitt added the comment: http://bugs.python.org/issue1777412 describes the cause of this issue (i.e. strftime not being able to handle years before 1900). __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2014 __

[issue2014] xmlrpclib cannot send datetime objects with dates before 1900

2008-02-06 Thread Christian Heimes
Christian Heimes added the comment: Does your patch also work on systems which don't allow negative values for time_t? -- keywords: +patch nosy: +tiran priority: - normal type: behavior - rfe versions: +Python 3.0 -Python 2.5 __ Tracker [EMAIL

[issue2014] xmlrpclib cannot send datetime objects with dates before 1900

2008-02-06 Thread Ralf Schmitt
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

[issue2014] xmlrpclib cannot send datetime objects with dates before 1900

2008-02-05 Thread Ralf Schmitt
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. --