Commit 2a481e58 authored by Benjamin Peterson's avatar Benjamin Peterson

don't bother keeping a set we'll never use

parent 23bba4ca
......@@ -842,6 +842,7 @@ class _FileFinder:
# We store two cached versions, to handle runtime changes of the
# PYTHONCASEOK environment variable.
self._path_cache = set(contents)
if sys.platform.startswith(CASE_INSENSITIVE_PLATFORMS):
self._relaxed_path_cache = set(fn.lower() for fn in contents)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment