|
Let us walk on the 3-isogeny graph
|
Functions | |
| CommandArgs | make_command (*Union[str, HiddenText, CommandArgs] args) |
| str | format_command_args (Union[List[str], CommandArgs] args) |
| List[str] | reveal_command_args (Union[List[str], CommandArgs] args) |
| str | call_subprocess (Union[List[str], CommandArgs] cmd, bool show_stdout=False, Optional[str] cwd=None, 'Literal["raise", "warn", "ignore"]' on_returncode="raise", Optional[Iterable[int]] extra_ok_returncodes=None, Optional[Mapping[str, Any]] extra_environ=None, Optional[Iterable[str]] unset_environ=None, Optional[SpinnerInterface] spinner=None, Optional[bool] log_failed_cmd=True, Optional[bool] stdout_only=False, *str command_desc) |
| Callable[..., None] | runner_with_spinner_message (str message) |
Variables | |
| CommandArgs = List[Union[str, HiddenText]] | |
| str call_subprocess | ( | Union[List[str], CommandArgs] | cmd, |
| bool | show_stdout = False, |
||
| Optional[str] | cwd = None, |
||
| 'Literal["raise", "warn", "ignore"]' | on_returncode = "raise", |
||
| Optional[Iterable[int]] | extra_ok_returncodes = None, |
||
| Optional[Mapping[str, Any]] | extra_environ = None, |
||
| Optional[Iterable[str]] | unset_environ = None, |
||
| Optional[SpinnerInterface] | spinner = None, |
||
| Optional[bool] | log_failed_cmd = True, |
||
| Optional[bool] | stdout_only = False, |
||
| *str | command_desc | ||
| ) |
Args:
show_stdout: if true, use INFO to log the subprocess's stderr and
stdout streams. Otherwise, use DEBUG. Defaults to False.
extra_ok_returncodes: an iterable of integer return codes that are
acceptable, in addition to 0. Defaults to None, which means [].
unset_environ: an iterable of environment variable names to unset
prior to calling subprocess.Popen().
log_failed_cmd: if false, failed commands are not logged, only raised.
stdout_only: if true, return only stdout, else return both. When true,
logging of both stdout and stderr occurs when the subprocess has
terminated, else logging occurs as subprocess output is produced.
Definition at line 71 of file subprocess.py.
References i, and pip._internal.utils.subprocess.reveal_command_args().

| str format_command_args | ( | Union[List[str], CommandArgs] | args | ) |
Format command arguments for display.
Definition at line 49 of file subprocess.py.
References i.
| CommandArgs make_command | ( | *Union[str, HiddenText, CommandArgs] | args | ) |
Create a CommandArgs object.
Definition at line 32 of file subprocess.py.
References i.
| List[str] reveal_command_args | ( | Union[List[str], CommandArgs] | args | ) |
Return the arguments in their raw, unredacted form.
Definition at line 64 of file subprocess.py.
References i.
Referenced by pip._internal.utils.subprocess.call_subprocess().

| Callable[..., None] runner_with_spinner_message | ( | str | message | ) |
Provide a subprocess_runner that shows a spinner message. Intended for use with for BuildBackendHookCaller. Thus, the runner has an API that matches what's expected by BuildBackendHookCaller.subprocess_runner.
Definition at line 239 of file subprocess.py.
| CommandArgs = List[Union[str, HiddenText]] |
Definition at line 29 of file subprocess.py.