[pypy-svn] r7799 - pypy/trunk/src/pypy/annotation

arigo at codespeak.net arigo at codespeak.net
Thu Dec 9 23:06:45 CET 2004


Author: arigo
Date: Thu Dec  9 23:06:45 2004
New Revision: 7799

Modified:
   pypy/trunk/src/pypy/annotation/bookkeeper.py
Log:
Revert the latest check-in.
We need a better idea to solve the current translate_pypy failure...


Modified: pypy/trunk/src/pypy/annotation/bookkeeper.py
==============================================================================
--- pypy/trunk/src/pypy/annotation/bookkeeper.py	(original)
+++ pypy/trunk/src/pypy/annotation/bookkeeper.py	Thu Dec  9 23:06:45 2004
@@ -222,9 +222,8 @@
             else:
                 raise Exception, "unsupported specialization type '%s'"%(x,)
 
-        elif func.func_code.co_flags & CO_VARARGS and args.w_stararg is None:
-            # calls to *arg functions without an incoming w_stararg:
-            # create one version per number of args
+        elif func.func_code.co_flags & CO_VARARGS:
+            # calls to *arg functions: create one version per number of args
             assert not args.kwds_w, (
                 "keyword forbidden in calls to *arg functions")
             nbargs = len(args.arguments_w)



More information about the Pypy-commit mailing list