[pypy-commit] pypy py3k: del sys.maxint
amauryfa
noreply at buildbot.pypy.org
Sat Dec 1 12:02:11 CET 2012
Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch: py3k
Changeset: r59156:b1019fc17517
Date: 2012-12-01 11:17 +0100
http://bitbucket.org/pypy/pypy/changeset/b1019fc17517/
Log: del sys.maxint
diff --git a/pypy/module/sys/__init__.py b/pypy/module/sys/__init__.py
--- a/pypy/module/sys/__init__.py
+++ b/pypy/module/sys/__init__.py
@@ -23,7 +23,6 @@
'__doc__' : '(space.wrap("PyPy sys module"))',
'platform' : 'space.wrap(sys.platform)',
- 'maxint' : 'space.wrap(sys.maxint)',
'maxsize' : 'space.wrap(sys.maxint)',
'byteorder' : 'space.wrap(sys.byteorder)',
'maxunicode' : 'space.wrap(vm.MAXUNICODE)',
diff --git a/pypy/module/sys/test/test_sysmodule.py b/pypy/module/sys/test/test_sysmodule.py
--- a/pypy/module/sys/test/test_sysmodule.py
+++ b/pypy/module/sys/test/test_sysmodule.py
@@ -396,7 +396,6 @@
#assert isinstance(sys.exec_prefix, str) -- not present!
assert isinstance(sys.executable, str)
assert isinstance(sys.hexversion, int)
- assert isinstance(sys.maxint, int)
assert isinstance(sys.maxsize, int)
assert isinstance(sys.maxunicode, int)
assert isinstance(sys.platform, str)
More information about the pypy-commit
mailing list