Author: Benjamin Peterson <[email protected]>
Branch: unroll-if-alt
Changeset: r47363:511b63c383f3
Date: 2011-09-20 09:17 -0400
http://bitbucket.org/pypy/pypy/changeset/511b63c383f3/
Log: why we can't have nice things
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
@@ -66,6 +66,8 @@
space.wrap("Recursion depth exceeded"))
level -= 1
s = self.template
+ # It would be quite nice to use @jit.unroll_iff(), but that interferes
+ # with the ctr_location specialization of the class.
if jit.isconstant(s):
return self._do_build_string_unroll(start, end, level, out, s)
else:
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit