[pypy-svn] r49011 - pypy/branch/windows48396/pypy/lib

tismer at codespeak.net tismer at codespeak.net
Sat Nov 24 02:37:33 CET 2007


Author: tismer
Date: Sat Nov 24 02:37:31 2007
New Revision: 49011

Modified:
   pypy/branch/windows48396/pypy/lib/_exceptions.py
Log:
forgot an omission to _exceptions

Modified: pypy/branch/windows48396/pypy/lib/_exceptions.py
==============================================================================
--- pypy/branch/windows48396/pypy/lib/_exceptions.py	(original)
+++ pypy/branch/windows48396/pypy/lib/_exceptions.py	Sat Nov 24 02:37:31 2007
@@ -210,6 +210,12 @@
 class OSError(EnvironmentError):
     """OS system call failed."""
 
+try:
+    WindowsError
+    class WindowsError(OSError):
+        """MS-Windows OS system call failed."""
+except NameError:pass
+
 class DeprecationWarning(Warning):
     """Base class for warnings about deprecated features."""
 



More information about the Pypy-commit mailing list