@lru_cache(maxsize=<NUM_LIT>)<EOL>def filter_pythons(path):<EOL>
if not isinstance(path, vistir.compat.Path):<EOL><INDENT>path = vistir.compat.Path(str(path))<EOL><DEDENT>if not path.is_dir():<EOL><INDENT>return path if path_is_python(path) else None<EOL><DEDENT>return filter(path_is_python, path.iterdir())<EOL>
Return all valid pythons in a given path