Author: Maciej Fijalkowski <fij...@gmail.com>
Branch: 
Changeset: r53774:8e449ee9d6e4
Date: 2012-03-18 09:08 +0200
http://bitbucket.org/pypy/pypy/changeset/8e449ee9d6e4/

Log:    use more canonical way of comparing stuff

diff --git a/pypy/__init__.py b/pypy/__init__.py
--- a/pypy/__init__.py
+++ b/pypy/__init__.py
@@ -7,7 +7,7 @@
 # and the branch stage 2 is started, where we remove this patch.
 import sys
 if hasattr(sys, "maxsize"):
-    if sys.maxint <> sys.maxsize:
+    if sys.maxint != sys.maxsize:
         sys.maxint = sys.maxsize
         import warnings
         warnings.warn("""\n
diff --git a/pytest.py b/pytest.py
--- a/pytest.py
+++ b/pytest.py
@@ -10,7 +10,7 @@
 # and the branch stage 2 is started, where we remove this patch.
 import sys
 if hasattr(sys, "maxsize"):
-    if sys.maxint <> sys.maxsize:
+    if sys.maxint != sys.maxsize:
         sys.maxint = sys.maxsize
         import warnings
         warnings.warn("""\n
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to