SILENT KILLERPanel

Current Path: > > usr > lib > python3.8 > site-packages > > pip > _internal > cli


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //usr/lib/python3.8/site-packages//pip/_internal/cli

NameTypeSizeLast ModifiedActions
__pycache__ Directory - -
__init__.py File 132 bytes October 17 2023 18:30:24.
autocompletion.py File 6169 bytes October 17 2023 18:30:24.
base_command.py File 6504 bytes October 17 2023 18:30:24.
cmdoptions.py File 26839 bytes October 17 2023 18:30:24.
command_context.py File 796 bytes October 17 2023 18:30:24.
main_parser.py File 2819 bytes October 17 2023 18:30:24.
parser.py File 9487 bytes October 17 2023 18:30:24.
req_command.py File 11363 bytes October 17 2023 18:30:24.
status_codes.py File 156 bytes October 17 2023 18:30:24.

Reading File: //usr/lib/python3.8/site-packages//pip/_internal/cli/command_context.py

# The following comment should be removed at some point in the future.
# mypy: disallow-untyped-defs=False

from contextlib import contextmanager

from pip._vendor.contextlib2 import ExitStack


class CommandContextMixIn(object):
    def __init__(self):
        super(CommandContextMixIn, self).__init__()
        self._in_main_context = False
        self._main_context = ExitStack()

    @contextmanager
    def main_context(self):
        assert not self._in_main_context

        self._in_main_context = True
        try:
            with self._main_context:
                yield
        finally:
            self._in_main_context = False

    def enter_context(self, context_provider):
        assert self._in_main_context

        return self._main_context.enter_context(context_provider)

SILENT KILLER Tool