[pypy-commit] pypy py3k: fill in missing exceptions

pjenvey noreply at buildbot.pypy.org
Tue Apr 16 20:28:51 CEST 2013


Author: Philip Jenvey <pjenvey at underboss.org>
Branch: py3k
Changeset: r63419:fcc7e919d7eb
Date: 2013-04-15 18:14 -0700
http://bitbucket.org/pypy/pypy/changeset/fcc7e919d7eb/

Log:	fill in missing exceptions

diff --git a/pypy/interpreter/baseobjspace.py b/pypy/interpreter/baseobjspace.py
--- a/pypy/interpreter/baseobjspace.py
+++ b/pypy/interpreter/baseobjspace.py
@@ -1655,11 +1655,15 @@
     'AssertionError',
     'AttributeError',
     'BaseException',
+    'BufferError',
+    'BytesWarning',
     'DeprecationWarning',
     'EOFError',
     'EnvironmentError',
     'Exception',
     'FloatingPointError',
+    'FutureWarning',
+    'GeneratorExit',
     'IOError',
     'ImportError',
     'ImportWarning',
@@ -1673,23 +1677,28 @@
     'NotImplementedError',
     'OSError',
     'OverflowError',
+    'PendingDeprecationWarning',
     'ReferenceError',
+    'ResourceWarning',
     'RuntimeError',
+    'RuntimeWarning',
     'StopIteration',
     'SyntaxError',
+    'SyntaxWarning',
     'SystemError',
     'SystemExit',
     'TabError',
     'TypeError',
     'UnboundLocalError',
     'UnicodeDecodeError',
+    'UnicodeEncodeError',
     'UnicodeError',
-    'UnicodeEncodeError',
     'UnicodeTranslateError',
+    'UnicodeWarning',
+    'UserWarning',
     'ValueError',
-    'ZeroDivisionError',
-    'RuntimeWarning',
-    'PendingDeprecationWarning',
+    'Warning',
+    'ZeroDivisionError'
 ]
 
 if sys.platform.startswith("win"):


More information about the pypy-commit mailing list