0

I guess there is a reason for xmlrpclib to have a seperate MAXINT than sys. Can anyone explain to me why?

>>> print xmlrpclib.MAXINT
2147483647
>>> print sys.maxint
2147483647
MattyW
  • 1,519
  • 3
  • 16
  • 33

1 Answers1

0

Because the maximum integer xmlrpclib can support can be different from the maximum integer the system can support.

>>> sys.maxint
9223372036854775807
>>> xmlrpclib.MAXINT
2147483647L
Ignacio Vazquez-Abrams
  • 776,304
  • 153
  • 1,341
  • 1,358