Lines Matching +full:paths +full:- +full:ignore
9 - has_python_ext() checks whether a file name ends in '.py[w]'.
10 - look_like_python() checks whether the file is not binary and either has
12 - can_be_compiled() checks whether the file can be compiled by compile().
14 The file also must be of appropriate size - not bigger than a megabyte.
25 binary_re = re.compile('[\x00-\x08\x0E-\x1F\x7F]')
36 except OSError, err: # Permission denied - ignore the file
46 except IOError, err: # Access denied, or a special file - ignore it
91 def walk_python_files(paths, is_python=looks_like_python, exclude_dirs=None): argument
93 Recursively yield all Python source files below the given paths.
95 paths: a list of files and/or directories to be checked.
104 for path in paths:
128 print "----------"