[pypy-commit] pypy default: redundant

bdkearns noreply at buildbot.pypy.org
Fri Mar 8 08:02:52 CET 2013


Author: Brian Kearns <bdkearns at gmail.com>
Branch: 
Changeset: r62217:e3de1062e2c6
Date: 2013-03-08 02:01 -0500
http://bitbucket.org/pypy/pypy/changeset/e3de1062e2c6/

Log:	redundant

diff --git a/lib_pypy/cPickle.py b/lib_pypy/cPickle.py
--- a/lib_pypy/cPickle.py
+++ b/lib_pypy/cPickle.py
@@ -225,10 +225,7 @@
         elif data == TRUE[1:]:
             val = True
         else:
-            try:
-                val = int(data)
-            except ValueError:
-                val = long(data)
+            val = int(data)
         self.append(val)
     dispatch[INT] = load_int
 


More information about the pypy-commit mailing list