Removed PyInt_GetMax and sys.maxint
I replaced sys.maxint with sys.maxsize in Lib/*.py. Does anybody see a problem with the change on Win 64bit platforms? Win 64's long is just 32bit but the sys.maxsize is now 2**63-1 on every 64bit platform.
Also added docs for sys.maxsize.
diff --git a/Lib/zipfile.py b/Lib/zipfile.py
index 97f639d..b274682 100644
--- a/Lib/zipfile.py
+++ b/Lib/zipfile.py
@@ -428,7 +428,7 @@
read a whole line.
"""
if size < 0:
- size = sys.maxint
+ size = sys.maxsize
elif size == 0:
return b''