summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2002-03-29 03:29:08 (GMT)
committerTim Peters <tim.peters@gmail.com>2002-03-29 03:29:08 (GMT)
commit1f7df3595a0ddc5ef545d686bbb2933b11b7c8ce (patch)
tree6f6774880044bab55c1ba90903e75976912b8e23 /Python
parent835840560bdd9edcf21186bace543e316fe921ca (diff)
downloadcpython-1f7df3595a0ddc5ef545d686bbb2933b11b7c8ce.zip
cpython-1f7df3595a0ddc5ef545d686bbb2933b11b7c8ce.tar.gz
cpython-1f7df3595a0ddc5ef545d686bbb2933b11b7c8ce.tar.bz2
Remove the CACHE_HASH and INTERN_STRINGS preprocessor symbols.
Diffstat (limited to 'Python')
-rw-r--r--Python/import.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Python/import.c b/Python/import.c
index e106aad..50bd729 100644
--- a/Python/import.c
+++ b/Python/import.c
@@ -978,7 +978,6 @@ find_module(char *realname, PyObject *path, char *buf, size_t buflen,
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 @@ find_module(char *realname, PyObject *path, char *buf, size_t buflen,
*/
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};