def pop_all(self):
        new_stack = type(self)()
        new_stack._exit_callbacks = self._exit_callbacks
        self._exit_callbacks = deque()
        return new_stack
Attempt to template out what is static if possible, and load files.
dataset/ETHPy150Open amrdraz/kodr/app/brython/www/src/Lib/contextlib.py/ExitStack.pop_all--crossover with--dataset/ETHPy150Open svanoort/pyresttest/pyresttest/tests.py/Test.realize_partial