def _cache_normalize_path(path):
<EOL>try:<EOL><INDENT>return _NORM_PATH_CACHE[path]<EOL><DEDENT>except KeyError:<EOL><INDENT>if not path:  <EOL><INDENT>return _normalize_path(path)<EOL><DEDENT>result = _NORM_PATH_CACHE[path] = _normalize_path(path)<EOL>return result<EOL><DEDENT>
abspath with caching