[pypy-commit] pypy default: unused imports

pjenvey noreply at buildbot.pypy.org
Tue Oct 9 22:15:01 CEST 2012


Author: Philip Jenvey <pjenvey at underboss.org>
Branch: 
Changeset: r57957:36131c51ef8b
Date: 2012-10-09 13:13 -0700
http://bitbucket.org/pypy/pypy/changeset/36131c51ef8b/

Log:	unused imports

diff --git a/pypy/objspace/std/floatobject.py b/pypy/objspace/std/floatobject.py
--- a/pypy/objspace/std/floatobject.py
+++ b/pypy/objspace/std/floatobject.py
@@ -1,5 +1,4 @@
 import operator
-import sys
 from pypy.interpreter import gateway
 from pypy.interpreter.error import OperationError
 from pypy.objspace.std import model, newformat
@@ -13,7 +12,6 @@
     isinf, isnan, isfinite, INFINITY, NAN, copysign, formatd,
     DTSF_ADD_DOT_0, DTSF_STR_PRECISION)
 from pypy.rlib.rbigint import rbigint
-from pypy.rlib.objectmodel import we_are_translated
 from pypy.rlib import rfloat
 from pypy.tool.sourcetools import func_with_new_name
 
@@ -292,8 +290,6 @@
     return space.wrap(_hash_float(space, w_value.floatval))
 
 def _hash_float(space, v):
-    from pypy.objspace.std.longobject import hash__Long
-
     if isnan(v):
         return 0
 


More information about the pypy-commit mailing list