def _create_temporary(path):
    """Create a temp file based on path and open for reading and writing."""
    return _create_carefully('%s.%s.%s.%s' % (path, int(time.time()),
                                              socket.gethostname(),
                                              os.getpid()))
dataset/ETHPy150Open babble/babble/include/jython/Lib/mailbox.py/_create_temporary/original