def copy(self):
        c = HostContext()
        c._command_prefixes = list(self._command_prefixes)
        c._path = list(self._path)
        c._env = list(self._env)
        return c
Create a deep copy.
dataset/ETHPy150Open jonathanslenders/python-deployer/deployer/host/base.py/HostContext.copy