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:
#
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit