[issue2985] xmlrpclib doesn't support 64bit integer replies

2008-05-30 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: As long as long integers aren't in the official spec, the current status is fine - liberal in accepting, and strict in sending. ___ Python tracker <[EMAIL PROTECTED]> __

[issue2985] xmlrpclib doesn't support 64bit integer replies

2008-05-29 Thread Riku Lindblad
Riku Lindblad <[EMAIL PROTECTED]> added the comment: The I8 tag is an extension by xmlrpc-c: http://xmlrpc-c.sourceforge.net/doc/libxmlrpc.html#extensiontype (XMLRPC_TYPE_I8) ___ Python tracker <[EMAIL PROTECTED]> ___

[issue2985] xmlrpclib doesn't support 64bit integer replies

2008-05-29 Thread Ralf Schmitt
Ralf Schmitt <[EMAIL PROTECTED]> added the comment: I think it's also a bug that xmlrpclib just ignores unknown tags (without even printing a warning). and: wouldn't it be nice if we could also write back those integers? >>> import xmlrpclib >>> xmlrpclib.dumps((2**40,)) Traceback (most recent

[issue2985] xmlrpclib doesn't support 64bit integer replies

2008-05-29 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Thanks, fixed in r63782. -- nosy: +georg.brandl resolution: -> accepted status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> _

[issue2985] xmlrpclib doesn't support 64bit integer replies

2008-05-28 Thread Riku Lindblad
Riku Lindblad <[EMAIL PROTECTED]> added the comment: I ran into 64bit integer responses with rtorrent's XML-RPC API. ___ Python tracker <[EMAIL PROTECTED]> ___ _

[issue2985] xmlrpclib doesn't support 64bit integer replies

2008-05-28 Thread Ralf Schmitt
Ralf Schmitt <[EMAIL PROTECTED]> added the comment: which implementations do support those 64 bit integers? -- nosy: +schmir ___ Python tracker <[EMAIL PROTECTED]> ___

[issue2985] xmlrpclib doesn't support 64bit integer replies

2008-05-27 Thread Riku Lindblad
Riku Lindblad <[EMAIL PROTECTED]> added the comment: I attached a patch that seems to fix the problem, needs proper testing though. -- keywords: +patch Added file: http://bugs.python.org/file10450/xmlrpclib-64bitsupport.diff __ Tracker <[EMAIL PROTECTED]>

[issue2985] xmlrpclib doesn't support 64bit integer replies

2008-05-27 Thread Riku Lindblad
New submission from Riku Lindblad <[EMAIL PROTECTED]>: When querying a XML-RPC server that returns a 64 bit integer, the python interface always returns an empty tuple. When running with verbose=True the response is still intact, the library just can't parse the result between the tags. Exampl