[pypy-svn] r66127 - pypy/trunk/pypy/tool

fijal at codespeak.net fijal at codespeak.net
Mon Jul 6 10:22:16 CEST 2009


Author: fijal
Date: Mon Jul  6 10:22:14 2009
New Revision: 66127

Modified:
   pypy/trunk/pypy/tool/compat.py
Log:
Another difference among 2.x python versions


Modified: pypy/trunk/pypy/tool/compat.py
==============================================================================
--- pypy/trunk/pypy/tool/compat.py	(original)
+++ pypy/trunk/pypy/tool/compat.py	Mon Jul  6 10:22:14 2009
@@ -8,3 +8,8 @@
     except ImportError:
         # no _md5 module on this platform
         from pypy.lib.md5 import md5
+
+try:
+    BaseException
+except NameError:
+    BaseException = Exception



More information about the Pypy-commit mailing list