[pypy-svn] r5045 - pypy/trunk/src/pypy/module
arigo at codespeak.net
arigo at codespeak.net
Fri Jun 11 13:00:42 CEST 2004
Author: arigo
Date: Fri Jun 11 13:00:41 2004
New Revision: 5045
Modified:
pypy/trunk/src/pypy/module/__builtin__interp.py
Log:
If application-level overrides sys.path with a new list object, it still works
now. But it would be nice to have a general solution to this problem.
Modified: pypy/trunk/src/pypy/module/__builtin__interp.py
==============================================================================
--- pypy/trunk/src/pypy/module/__builtin__interp.py (original)
+++ pypy/trunk/src/pypy/module/__builtin__interp.py Fri Jun 11 13:00:41 2004
@@ -131,7 +131,9 @@
w_mod = None
parts = modulename.split('.')
prefix = []
- w_path = space.sys.w_path
+ # it would be nice if we could do here: w_path = space.sys.w_path
+ # instead:
+ w_path = space.getitem(space.sys.w_dict, space.wrap('path'))
first = None
level = 0
More information about the Pypy-commit
mailing list