[pypy-svn] r2727 - pypy/trunk/src/pypy/module

arigo at codespeak.net arigo at codespeak.net
Tue Jan 6 08:48:01 CET 2004


Author: arigo
Date: Tue Jan  6 08:48:00 2004
New Revision: 2727

Modified:
   pypy/trunk/src/pypy/module/sysinterp.py
Log:
Added '' at the front of sys.path, as in Python 2.3.


Modified: pypy/trunk/src/pypy/module/sysinterp.py
==============================================================================
--- pypy/trunk/src/pypy/module/sysinterp.py	(original)
+++ pypy/trunk/src/pypy/module/sysinterp.py	Tue Jan  6 08:48:00 2004
@@ -61,7 +61,7 @@
 # Initialize the default path
 srcdir = os.path.dirname(autopath.pypydir)
 appdir = os.path.join(autopath.pypydir, 'appspace')
-w_path = space.newlist([space.wrap(appdir)] +
+w_path = space.newlist([space.wrap(''), space.wrap(appdir)] +
                        [space.wrap(p) for p in cpy_sys.path if p!= srcdir])
 
 # XXX - Replace with appropriate PyPy version numbering


More information about the Pypy-commit mailing list