[Python-Dev] 64-bit values in XML RPC: OverflowError: int exceeds XML-RPC limits

Dirkjan Ochtman dirkjan at ochtman.nl
Wed Jul 15 16:46:59 CEST 2009


On Wed, Jul 15, 2009 at 16:42, Peter
Hanecak<peter.hanecak at alcatel-lucent.sk> wrote:
> So my subsequent question is: What can help me solve the "writing" part?

The XML-RPC protocol, as specified at [1], doesn't support integers
with more than 32 bits (in fact, the i4 alias can be used to make the
use of 4 bytes explicit). So, either don't use XML-RPC, or encode it
in some other type (e.g. a string or base64).

Cheers,

Dirkjan

[1] http://www.xmlrpc.com/spec


More information about the Python-Dev mailing list