[pypy-svn] r29922 - pypy/dist/pypy/translator
arigo at codespeak.net
arigo at codespeak.net
Mon Jul 10 18:49:44 CEST 2006
Author: arigo
Date: Mon Jul 10 18:49:43 2006
New Revision: 29922
Modified:
pypy/dist/pypy/translator/geninterplevel.py
Log:
Another pypy-c-compliant fix.
Modified: pypy/dist/pypy/translator/geninterplevel.py
==============================================================================
--- pypy/dist/pypy/translator/geninterplevel.py (original)
+++ pypy/dist/pypy/translator/geninterplevel.py Mon Jul 10 18:49:43 2006
@@ -468,6 +468,10 @@
value.__file__.endswith('.py') or
value.__file__.endswith('.pyo')) :
return bltinmod_helper(self, value)
+
+ if value.__file__.endswith('*.py'): # on top of PyPy, a mixed module
+ return bltinmod_helper(self, value)
+
# we might have createda reference to a module
# that is non-standard.
More information about the Pypy-commit
mailing list