def make_tempfile(content=None):
    fd, tmpfile = tempfile.mkstemp()

    if content:
        os.write(fd, content)

    os.close(fd)
    tempfiles.append(tmpfile)
    return tmpfile
Translate a /-separated PATH to the local filename syntax.
dataset/ETHPy150Open reviewboard/rbtools/rbtools/utils/filesystem.py/make_tempfile--crossover with--dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/test/test_ssl.py/SocketServerHTTPSServer.RootedHTTPRequestHandler.translate_path