def iter_tracebacks(logdir):
 crash_files = sorted(glob(op.join(logdir, '*.pkl*')))
 for cf in crash_files:
  (yield (cf, load_pklz_traceback(cf)))

def iter_tracebacks ( logdir ) : crash_files = sorted ( glob ( op . join ( logdir , '*.pkl*' ) ) ) for cf in crash_files : ( yield ( cf , load_pklz_traceback ( cf ) ) )
return an iterator over each file path and traceback field inside logdir .