[pypy-svn] r19841 - pypy/dist/pypy/module/sys

ale at codespeak.net ale at codespeak.net
Sun Nov 13 21:30:44 CET 2005


Author: ale
Date: Sun Nov 13 21:30:43 2005
New Revision: 19841

Modified:
   pypy/dist/pypy/module/sys/__init__.py
Log:
Added hooks for pep 302

Modified: pypy/dist/pypy/module/sys/__init__.py
==============================================================================
--- pypy/dist/pypy/module/sys/__init__.py	(original)
+++ pypy/dist/pypy/module/sys/__init__.py	Sun Nov 13 21:30:43 2005
@@ -59,7 +59,10 @@
 
         'displayhook'           : 'hook.displayhook', 
         '__displayhook__'       : 'hook.__displayhook__', 
-    }
+        'meta_path'             : 'space.wrap([])',
+        'path_hooks'            : 'space.wrap([])',
+        'path_importer_cache'   : 'space.wrap({})',
+}
     appleveldefs = {
         #'displayhook'           : 'app.displayhook', 
         #'__displayhook__'       : 'app.__displayhook__', 



More information about the Pypy-commit mailing list