Author: Richard Plangger <planri...@gmail.com> Branch: s390x-backend Changeset: r80847:4dcc42d4c820 Date: 2015-11-23 08:28 +0100 http://bitbucket.org/pypy/pypy/changeset/4dcc42d4c820/
Log: merged default diff --git a/rpython/annotator/bookkeeper.py b/rpython/annotator/bookkeeper.py --- a/rpython/annotator/bookkeeper.py +++ b/rpython/annotator/bookkeeper.py @@ -168,7 +168,9 @@ return desc.getuniqueclassdef() def new_exception(self, exc_classes): - clsdefs = {self.getuniqueclassdef(cls) for cls in exc_classes} + clsdefs = set() + for cls in exc_classes: + clsdefs.add(self.getuniqueclassdef(cls)) return SomeException(clsdefs) def getlistdef(self, **flags_if_new): _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit