[pypy-svn] r50648 - pypy/branch/clr-module-improvements/pypy/module/clr
antocuni at codespeak.net
antocuni at codespeak.net
Tue Jan 15 19:31:46 CET 2008
Author: antocuni
Date: Tue Jan 15 19:31:46 2008
New Revision: 50648
Modified:
pypy/branch/clr-module-improvements/pypy/module/clr/__init__.py
Log:
(arigo) install the import hook only after startup, else the translation breaks
Modified: pypy/branch/clr-module-improvements/pypy/module/clr/__init__.py
==============================================================================
--- pypy/branch/clr-module-improvements/pypy/module/clr/__init__.py (original)
+++ pypy/branch/clr-module-improvements/pypy/module/clr/__init__.py Tue Jan 15 19:31:46 2008
@@ -20,7 +20,7 @@
#'list_of_loadedAssemblies': 'interp_clr.list_of_loadedAssemblies',
}
- def setup_after_space_initialization(self):
+ def startup(self, space):
self.space.appexec([self], """(clr_module):
import sys
sys.meta_path.append(clr_module.dotnetimporter())
More information about the Pypy-commit
mailing list