Mailing List Archive

CVS: python/dist/src/Python import.c,2.195,2.196
Update of /cvsroot/python/python/dist/src/Python
In directory usw-pr-cvs1:/tmp/cvs-serv21495/python/Python

Modified Files:
import.c
Log Message:
Remove the CACHE_HASH and INTERN_STRINGS preprocessor symbols.


Index: import.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/import.c,v
retrieving revision 2.195
retrieving revision 2.196
diff -C2 -d -r2.195 -r2.196
*** import.c 26 Feb 2002 11:41:34 -0000 2.195
--- import.c 29 Mar 2002 03:29:08 -0000 2.196
***************
*** 979,983 ****
continue; /* v contains '\0' */
#ifdef macintosh
- #ifdef INTERN_STRINGS
/*
** Speedup: each sys.path item is interned, and
--- 979,982 ----
***************
*** 988,992 ****
PyString_InternInPlace(&PyList_GET_ITEM(path, i));
v = PyList_GET_ITEM(path, i);
- #endif
if (PyMac_FindResourceModule((PyStringObject *)v, name, buf)) {
static struct filedescr resfiledescr =
--- 987,990 ----