[pypy-commit] pypy kill-geninterp: Kill

arigo noreply at buildbot.pypy.org
Wed Mar 14 20:00:16 CET 2012


Author: Armin Rigo <arigo at 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)


More information about the pypy-commit mailing list