[pypy-commit] pypy better-jit-hooks: remove unnecessary imports

fijal noreply at buildbot.pypy.org
Tue Jan 3 13:04:30 CET 2012


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: better-jit-hooks
Changeset: r50991:7f549487e540
Date: 2012-01-03 14:03 +0200
http://bitbucket.org/pypy/pypy/changeset/7f549487e540/

Log:	remove unnecessary imports

diff --git a/pypy/rlib/jit.py b/pypy/rlib/jit.py
--- a/pypy/rlib/jit.py
+++ b/pypy/rlib/jit.py
@@ -6,7 +6,6 @@
 from pypy.rlib.objectmodel import CDefinedIntSymbolic, keepalive_until_here, specialize
 from pypy.rlib.unroll import unrolling_iterable
 from pypy.rpython.extregistry import ExtRegistryEntry
-from pypy.tool.sourcetools import func_with_new_name
 
 DEBUG_ELIDABLE_FUNCTIONS = False
 
@@ -628,7 +627,6 @@
     def specialize_call(self, hop, **kwds_i):
         # XXX to be complete, this could also check that the concretetype
         # of the variables are the same for each of the calls.
-        from pypy.rpython.error import TyperError
         from pypy.rpython.lltypesystem import lltype
         driver = self.instance.im_self
         greens_v = []


More information about the pypy-commit mailing list