def _cache_normalize_path(path):
 try:
  return _NORM_PATH_CACHE[path]
 except KeyError:
  if (not path):
   return _normalize_path(path)
  result = _NORM_PATH_CACHE[path] = _normalize_path(path)
  return result

def _cache_normalize_path ( path ) : try : return _NORM_PATH_CACHE [ path ] except KeyError : if ( not path ) : return _normalize_path ( path ) result = _NORM_PATH_CACHE [ path ] = _normalize_path ( path ) return result
abspath with caching .