[Patches] [ python-Patches-468394 ] Allow xmlrpclib to handle long ints

noreply@sourceforge.net noreply@sourceforge.net
Fri, 05 Oct 2001 13:23:41 -0700


Patches item #468394, was opened at 2001-10-05 13:23
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=468394&group_id=5470

Category: Library (Lib)
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Skip Montanaro (montanaro)
Assigned to: Nobody/Anonymous (nobody)
Summary: Allow xmlrpclib to handle long ints

Initial Comment:
xmlrpclib currently raises an exception when passed a long int, even if it int(N) doesn't raise OverflowError. The attached patch adds a dump_long method to the Marshaller class.  It makes no attempt to recover from an out-of-range long, letting the user catch the resulting OverflowError.



----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=468394&group_id=5470