Author: Armin Rigo <ar...@tunes.org> Branch: kill-geninterp Changeset: r53590:4cd3e4d3ed14 Date: 2012-03-14 11:58 -0700 http://bitbucket.org/pypy/pypy/changeset/4cd3e4d3ed14/
Log: Kill diff --git a/pypy/objspace/flow/operation.py b/pypy/objspace/flow/operation.py --- a/pypy/objspace/flow/operation.py +++ b/pypy/objspace/flow/operation.py @@ -254,8 +254,6 @@ OverflowError: 'ovf', IndexError: 'idx', KeyError: 'key', - AttributeError: 'att', - TypeError: 'typ', ZeroDivisionError: 'zer', ValueError: 'val', } @@ -290,12 +288,6 @@ lis.append(OverflowError) implicit_exceptions[name+"_ovf"] = lis -for _name in 'getattr', 'delattr': - _add_exceptions(_name, AttributeError) -for _name in 'iter', 'coerce': - _add_exceptions(_name, TypeError) -del _name - _add_exceptions("""div mod divmod truediv floordiv pow inplace_div inplace_mod inplace_divmod inplace_truediv inplace_floordiv inplace_pow""", ZeroDivisionError) _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit