[pypy-svn] r11960 - pypy/dist/pypy/lib
arigo at codespeak.net
arigo at codespeak.net
Thu May 5 11:54:42 CEST 2005
Author: arigo
Date: Thu May 5 11:54:41 2005
New Revision: 11960
Modified:
pypy/dist/pypy/lib/__init__.py
Log:
This __init__.py shows up in PyPy's app-level standard library.
Let's try to prevent that confusion...
Modified: pypy/dist/pypy/lib/__init__.py
==============================================================================
--- pypy/dist/pypy/lib/__init__.py (original)
+++ pypy/dist/pypy/lib/__init__.py Thu May 5 11:54:41 2005
@@ -1 +1,4 @@
-#
+# This __init__.py shows up in PyPy's app-level standard library.
+# Let's try to prevent that confusion...
+if __name__ != 'pypy.lib':
+ raise ImportError, '__init__'
More information about the Pypy-commit
mailing list