[pypy-commit] pypy py3k: 2to3

mjacob noreply at buildbot.pypy.org
Tue Jun 2 21:00:07 CEST 2015


Author: Manuel Jacob <me at manueljacob.de>
Branch: py3k
Changeset: r77789:b0fb0320e5d9
Date: 2015-06-02 20:49 +0200
http://bitbucket.org/pypy/pypy/changeset/b0fb0320e5d9/

Log:	2to3

diff --git a/pypy/module/micronumpy/casting.py b/pypy/module/micronumpy/casting.py
--- a/pypy/module/micronumpy/casting.py
+++ b/pypy/module/micronumpy/casting.py
@@ -308,8 +308,6 @@
     if space.isinstance_w(w_obj, space.w_bool):
         return bool_dtype
     elif space.isinstance_w(w_obj, space.w_int):
-        return long_dtype
-    elif space.isinstance_w(w_obj, space.w_long):
         try:
             space.int_w(w_obj)
         except OperationError, e:


More information about the pypy-commit mailing list