Author: Vincent Legoll <[email protected]>
Branch: fix-missing-canraise
Changeset: r81405:b1e7af4fc0c9
Date: 2015-12-20 02:53 +0100
http://bitbucket.org/pypy/pypy/changeset/b1e7af4fc0c9/
Log: Looks like canraise needs to be there...
diff --git a/rpython/flowspace/operation.py b/rpython/flowspace/operation.py
--- a/rpython/flowspace/operation.py
+++ b/rpython/flowspace/operation.py
@@ -510,6 +510,7 @@
class NewSlice(HLOperation):
opname = 'newslice'
+ canraise = []
def consider(self, annotator):
raise AnnotatorError("Cannot use extended slicing in rpython")
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit