[pypy-svn] r25054 - pypy/dist/pypy/annotation

tismer at codespeak.net tismer at codespeak.net
Tue Mar 28 02:07:16 CEST 2006


Author: tismer
Date: Tue Mar 28 02:07:07 2006
New Revision: 25054

Modified:
   pypy/dist/pypy/annotation/annrpython.py
Log:
allow for incomplete build_types

Modified: pypy/dist/pypy/annotation/annrpython.py
==============================================================================
--- pypy/dist/pypy/annotation/annrpython.py	(original)
+++ pypy/dist/pypy/annotation/annrpython.py	Tue Mar 28 02:07:07 2006
@@ -78,7 +78,7 @@
 
     #___ convenience high-level interface __________________
 
-    def build_types(self, function, input_arg_types):
+    def build_types(self, function, input_arg_types, complete_now=True):
         """Recursively build annotations about the specific entry point."""
         assert isinstance(function, FunctionType), "fix that!"
 
@@ -92,7 +92,7 @@
             assert isinstance(flowgraph, annmodel.SomeObject)
             return flowgraph
 
-        return self.build_graph_types(flowgraph, inputcells)
+        return self.build_graph_types(flowgraph, inputcells, complete_now=complete_now)
 
     def annotate_helper(self, function, args_s, policy=None, complete_now=True):
         args_s = args_s[:]



More information about the Pypy-commit mailing list