[pypy-svn] r78968 - pypy/branch/rlist-jit/pypy/interpreter
arigo at codespeak.net
arigo at codespeak.net
Wed Nov 10 16:01:50 CET 2010
Author: arigo
Date: Wed Nov 10 16:01:49 2010
New Revision: 78968
Modified:
pypy/branch/rlist-jit/pypy/interpreter/argument.py
Log:
Fix.
Modified: pypy/branch/rlist-jit/pypy/interpreter/argument.py
==============================================================================
--- pypy/branch/rlist-jit/pypy/interpreter/argument.py (original)
+++ pypy/branch/rlist-jit/pypy/interpreter/argument.py Wed Nov 10 16:01:49 2010
@@ -3,7 +3,7 @@
"""
from pypy.interpreter.error import OperationError, operationerrfmt
-from pypy.rlib.debug import make_sure_not_resized
+from pypy.rlib.debug import make_sure_not_resized, list_not_modified_any_more
from pypy.rlib import jit
@@ -134,7 +134,8 @@
def replace_arguments(self, args_w):
"Return a new Arguments with a args_w as positional arguments."
- return Arguments(self.space, args_w, self.keywords, self.keywords_w)
+ return Arguments(self.space, list_not_modified_any_more(args_w),
+ self.keywords, self.keywords_w)
def prepend(self, w_firstarg):
"Return a new Arguments with a new argument inserted first."
More information about the Pypy-commit
mailing list