

def load_hashes(filename):
    'Load the hashes dict from the hashfile'
    hashes = {
        
    }
    try:
        with open(filename, 'r') as cython_hash_file:
            for hash_record in cython_hash_file:
                (filename, header_hash, cython_hash, gen_file_hash) = hash_record.split()
                hashes[filename] = (header_hash, cython_hash, gen_file_hash)
    except (KeyError, ValueError, AttributeError, IOError):
        hashes = {
            
        }
    return hashes

dataset/ETHPy150Open jakevdp/cython_template/tools/cythonize.py load_hashes/original