diff Python/import.c @ 22651:f3a416b178c4 legacy-trunk

Remove the CACHE_HASH and INTERN_STRINGS preprocessor symbols.
author Tim Peters <tim.peters@gmail.com>
date Fri, 29 Mar 2002 03:29:08 +0000
parents 5cbcfde3ad55
children 8703d2052339
line wrap: on
line diff
--- a/Python/import.c	Fri Mar 29 03:07:29 2002 +0000
+++ b/Python/import.c	Fri Mar 29 03:29:08 2002 +0000
@@ -978,7 +978,6 @@
 		if (strlen(buf) != len)
 			continue; /* v contains '\0' */
 #ifdef macintosh
-#ifdef INTERN_STRINGS
 		/*
 		** Speedup: each sys.path item is interned, and
 		** FindResourceModule remembers which items refer to
@@ -987,7 +986,6 @@
 		*/
 		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 =
 				{"", "", PY_RESOURCE};