Author: Ronan Lamy <ronan.l...@gmail.com> Branch: anntype2 Changeset: r81001:eeb513e3c5a1 Date: 2015-11-27 13:57 +0000 http://bitbucket.org/pypy/pypy/changeset/eeb513e3c5a1/
Log: Fix issue with generalizing None[i] to container[i] diff --git a/rpython/annotator/binaryop.py b/rpython/annotator/binaryop.py --- a/rpython/annotator/binaryop.py +++ b/rpython/annotator/binaryop.py @@ -782,6 +782,7 @@ class __extend__(pairtype(SomeNone, SomeObject)): def getitem((none, o)): return s_ImpossibleValue + getitem.can_only_throw = [] def setitem((none, o), s_value): return None _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit