

def _huge_sources_hook(sources):
    _sources = str(sources).replace('\\', '/')
    if (len(str(tmp_file)) < MAX_SOURCES_LENGTH):
        return sources
    tmp_file = join(gettempdir(), ('pioarargs-%s' % md5(_sources).hexdigest()))
    with open(tmp_file, 'w') as f:
        for line in _sources.split('.o '):
            if (not line.endswith('.o')):
                line += '.o'
            f.write(('"%s" ' % line))
    return ('@"%s"' % tmp_file)

dataset/ETHPy150Open platformio/platformio/platformio/builder/tools/pioar.py _huge_sources_hook/VarMisuse@30/36 `_sources`->`tmp_file`