Author: Carl Friedrich Bolz <cfb...@gmx.de> Branch: unroll-if-alt Changeset: r47367:5e7721621699 Date: 2011-09-20 15:55 +0200 http://bitbucket.org/pypy/pypy/changeset/5e7721621699/
Log: fix diff --git a/pypy/objspace/std/newformat.py b/pypy/objspace/std/newformat.py --- a/pypy/objspace/std/newformat.py +++ b/pypy/objspace/std/newformat.py @@ -67,7 +67,7 @@ s = self.template return self._do_build_string(start, end, level, out, s) - @jit.unroll_iff(lambda self, start, end, level, out, s: jit.isconstant(s)) + @jit.look_inside_iff(lambda self, start, end, level, out, s: jit.isconstant(s)) def _do_build_string(self, start, end, level, out, s): space = self.space last_literal = i = start _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit