Lines Matching refs:list
161 files = list(warnings.keys())
199 list = warnings.get(filename)
200 if list is None:
201 warnings[filename] = list = []
202 list.append((int(lineno), sys.intern(what)))
205 def process(filename, list):
207 assert list # if this fails, readwarnings() is broken
216 list.sort()
217 index = 0 # list[:index] has been processed, list[index:] is still to do
225 while index < len(list) and list[index][0] < startlineno:
226 orphans.append(list[index])
231 while index < len(list) and list[index][0] <= endlineno:
232 warnings.append(list[index])