correct range for i8 (64 bit signed)
This commit is contained in:
parent
2dfbd7d998
commit
cea43dd458
2 changed files with 5 additions and 5 deletions
|
|
@ -30,8 +30,8 @@ class ExtendedMarshaller(xmlrpc_client.Marshaller):
|
|||
write("</data></array></value>\n")
|
||||
dispatch[types.GeneratorType] = dump_generator
|
||||
|
||||
MAXI8 = 2 ** 64 - 1
|
||||
MINI8 = -2 ** 64
|
||||
MAXI8 = 2 ** 63 - 1
|
||||
MINI8 = -2 ** 63
|
||||
|
||||
def dump_int(self, value, write):
|
||||
# python2's xmlrpclib doesn't support i8 extension for marshalling,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue