[pypy-commit] pypy default: Kill unused attribute PyPyAnnotatorPolicy.single_space

rlamy noreply at buildbot.pypy.org
Fri Mar 27 04:52:14 CET 2015


Author: Ronan Lamy <ronan.lamy at gmail.com>
Branch: 
Changeset: r76589:11e0b763be9b
Date: 2015-03-27 03:52 +0000
http://bitbucket.org/pypy/pypy/changeset/11e0b763be9b/

Log:	Kill unused attribute PyPyAnnotatorPolicy.single_space

diff --git a/pypy/goal/targetpypystandalone.py b/pypy/goal/targetpypystandalone.py
--- a/pypy/goal/targetpypystandalone.py
+++ b/pypy/goal/targetpypystandalone.py
@@ -141,7 +141,7 @@
         res = _pypy_execute_source(source)
         before = rffi.aroundstate.before
         if before: before()
-        return rffi.cast(rffi.INT, res)        
+        return rffi.cast(rffi.INT, res)
 
     @entrypoint('main', [], c_name='pypy_init_threads')
     def pypy_init_threads():
@@ -312,7 +312,7 @@
         w_dict = app.getwdict(space)
         entry_point, _ = create_entry_point(space, w_dict)
 
-        return entry_point, None, PyPyAnnotatorPolicy(single_space = space)
+        return entry_point, None, PyPyAnnotatorPolicy()
 
     def interface(self, ns):
         for name in ['take_options', 'handle_config', 'print_help', 'target',
diff --git a/pypy/tool/ann_override.py b/pypy/tool/ann_override.py
--- a/pypy/tool/ann_override.py
+++ b/pypy/tool/ann_override.py
@@ -13,11 +13,10 @@
 
 
 class PyPyAnnotatorPolicy(AnnotatorPolicy):
-    def __init__(pol, single_space=None):
+    def __init__(pol):
         pol.lookups = {}
         pol.lookups_where = {}
         pol.pypytypes = {}
-        pol.single_space = single_space
 
     def specialize__wrap(pol,  funcdesc, args_s):
         from pypy.interpreter.baseobjspace import W_Root


More information about the pypy-commit mailing list