Author: Philip Jenvey <[email protected]>
Branch: length-hint
Changeset: r57864:3126105cd7ea
Date: 2012-10-07 12:05 -0700
http://bitbucket.org/pypy/pypy/changeset/3126105cd7ea/
Log: workaround (potentially) for parsing extend_from_iterable's trace
diff --git a/pypy/module/pypyjit/test_pypy_c/model.py
b/pypy/module/pypyjit/test_pypy_c/model.py
--- a/pypy/module/pypyjit/test_pypy_c/model.py
+++ b/pypy/module/pypyjit/test_pypy_c/model.py
@@ -104,6 +104,9 @@
yield subchunk
def compute_ids(self, ids):
+ # XXX: valid?
+ if not self.code:
+ return
#
# 1. compute the ids of self, i.e. the outer function
id2opcodes = find_ids(self.code)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit