[pypy-commit] pypy win32-cleanup: add 'WindowsError' to base objspace

mattip noreply at buildbot.pypy.org
Mon Feb 6 23:17:31 CET 2012


Author: mattip
Branch: win32-cleanup
Changeset: r52151:6fc1023ba5e3
Date: 2012-02-07 00:16 +0200
http://bitbucket.org/pypy/pypy/changeset/6fc1023ba5e3/

Log:	add 'WindowsError' to base objspace

diff --git a/pypy/interpreter/baseobjspace.py b/pypy/interpreter/baseobjspace.py
--- a/pypy/interpreter/baseobjspace.py
+++ b/pypy/interpreter/baseobjspace.py
@@ -1638,6 +1638,9 @@
     'UnicodeEncodeError',
     'UnicodeDecodeError',
     ]
+    
+if sys.platform.startswith("win"):
+    ObjSpace.ExceptionTable += ['WindowsError']
 
 ## Irregular part of the interface:
 #


More information about the pypy-commit mailing list