Author: Armin Rigo <[email protected]>
Branch:
Changeset: r81406:8b08c8ce6257
Date: 2015-12-20 10:39 +0100
http://bitbucket.org/pypy/pypy/changeset/8b08c8ce6257/
Log: Merged in vincentlegoll/pypy/fix-missing-canraise (pull request
#382)
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