Author: Vincent Legoll <vincent.leg...@idgrilles.fr>
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
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to