Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想 xmlrpclib 有一个单独的 MAXINT 而不是 sys. 谁能向我解释为什么?
>>> print xmlrpclib.MAXINT 2147483647 >>> print sys.maxint 2147483647
因为可以支持的最大整数xmlrpclib可以不同于系统可以支持的最大整数。
xmlrpclib
>>> sys.maxint 9223372036854775807 >>> xmlrpclib.MAXINT 2147483647L