[pypy-commit] pypy fix-2211: Use NewSlice.consider() instead get_specialization()
Vincent Legoll
pypy.commits at gmail.com
Sat Dec 19 07:59:20 EST 2015
Author: Vincent Legoll <vincent.legoll at idgrilles.fr>
Branch: fix-2211
Changeset: r81392:59c849746214
Date: 2015-12-16 19:11 +0100
http://bitbucket.org/pypy/pypy/changeset/59c849746214/
Log: Use NewSlice.consider() instead get_specialization() for extended
slicing Exception message
diff --git a/rpython/flowspace/operation.py b/rpython/flowspace/operation.py
--- a/rpython/flowspace/operation.py
+++ b/rpython/flowspace/operation.py
@@ -512,7 +512,7 @@
opname = 'newslice'
canraise = [AnnotatorError]
- def get_specialization(self, s_arg1, s_arg2, s_arg3):
+ def consider(self, annotator):
raise AnnotatorError("Cannot use extended slicing in rpython")
More information about the pypy-commit
mailing list