$74 GRAYBYTE WORDPRESS FILE MANAGER $82

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.43.35 | ADMIN IP 216.73.216.157
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/cli/

HOME
Current File : /opt/alt/python27/lib/python2.7/site-packages/pip/_internal/cli//command_context.py
from contextlib import contextmanager

from pip._vendor.contextlib2 import ExitStack

from pip._internal.utils.typing import MYPY_CHECK_RUNNING

if MYPY_CHECK_RUNNING:
    from typing import Iterator, ContextManager, TypeVar

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


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

    @contextmanager
    def main_context(self):
        # type: () -> Iterator[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):
        # type: (ContextManager[_T]) -> _T
        assert self._in_main_context

        return self._main_context.enter_context(context_provider)


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2024 10.49 PM
root / linksafe
0755
__init__.py
0.129 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
__init__.pyc
0.311 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
autocompletion.py
6.394 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
autocompletion.pyc
5.739 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
base_command.py
9.084 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
base_command.pyc
8.42 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
cmdoptions.py
28.107 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
cmdoptions.pyc
26.807 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
command_context.py
0.952 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
command_context.pyc
1.944 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
main.py
2.555 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
main.pyc
1.842 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
main_parser.py
2.776 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
main_parser.pyc
2.814 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
parser.py
9.258 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
parser.pyc
11.892 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
progress_bars.py
8.907 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
progress_bars.pyc
11.746 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
req_command.py
14.777 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
req_command.pyc
13.044 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
spinners.py
5.38 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
spinners.pyc
7.479 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
status_codes.py
0.152 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
status_codes.pyc
0.471 KB
13 Nov 2023 9.11 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF