diff options
author | Tim Peters <tim.peters@gmail.com> | 2002-03-29 03:29:08 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2002-03-29 03:29:08 (GMT) |
commit | 1f7df3595a0ddc5ef545d686bbb2933b11b7c8ce (patch) | |
tree | 6f6774880044bab55c1ba90903e75976912b8e23 /Python | |
parent | 835840560bdd9edcf21186bace543e316fe921ca (diff) | |
download | cpython-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.c | 2 |
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}; |