[Python-3000-checkins] r58215 - in python/branches/py3k-importlib: Modules/getpath.c NEWS
brett.cannon
python-3000-checkins at python.org
Thu Sep 20 04:58:35 CEST 2007
Author: brett.cannon
Date: Thu Sep 20 04:58:34 2007
New Revision: 58215
Added:
python/branches/py3k-importlib/NEWS (contents, props changed)
Modified:
python/branches/py3k-importlib/Modules/getpath.c
Log:
Use _importlib.py over os.py as landmark when searching for the stdlib.
Modified: python/branches/py3k-importlib/Modules/getpath.c
==============================================================================
--- python/branches/py3k-importlib/Modules/getpath.c (original)
+++ python/branches/py3k-importlib/Modules/getpath.c Thu Sep 20 04:58:34 2007
@@ -51,7 +51,7 @@
* Modules/Setup. If the landmark is found, we're done.
*
* For the remaining steps, the prefix landmark will always be
- * lib/python$VERSION/os.py and the exec_prefix will always be
+ * lib/python$VERSION/_importlib.py and the exec_prefix will always be
* lib/python$VERSION/lib-dynload, where $VERSION is Python's version
* number as supplied by the Makefile. Note that this means that no more
* build directory checking is performed; if the first step did not find
@@ -122,7 +122,7 @@
#endif
#ifndef LANDMARK
-#define LANDMARK "os.py"
+#define LANDMARK "_importlib.py"
#endif
static char prefix[MAXPATHLEN+1];
Added: python/branches/py3k-importlib/NEWS
==============================================================================
--- (empty file)
+++ python/branches/py3k-importlib/NEWS Thu Sep 20 04:58:34 2007
@@ -0,0 +1,2 @@
+* Have Modules/getpath.c use _importlib.py instead of os.py when searching for
+ Python's stdlib directory.
More information about the Python-3000-checkins
mailing list