OXIESEC PANEL
- Current Dir:
/
/
opt
/
gsutil
/
third_party
/
argcomplete
/
argcomplete
Server IP: 2a02:4780:11:1594:0:ef5:22d7:a
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
12/11/2024 09:39:44 AM
rwxr-xr-x
📄
__init__.py
693 bytes
10/07/2024 04:00:12 AM
rw-r--r--
📁
__pycache__
-
02/11/2025 08:19:49 AM
rwxr-xr-x
📄
_check_console_script.py
2.36 KB
10/07/2024 04:00:12 AM
rw-r--r--
📄
_check_module.py
2.55 KB
10/07/2024 04:00:12 AM
rw-r--r--
📁
bash_completion.d
-
10/07/2024 04:00:12 AM
rwxr-xr-x
📄
completers.py
3.89 KB
10/07/2024 04:00:12 AM
rw-r--r--
📄
exceptions.py
112 bytes
10/07/2024 04:00:12 AM
rw-r--r--
📄
finders.py
27.59 KB
10/07/2024 04:00:12 AM
rw-r--r--
📄
io.py
866 bytes
10/07/2024 04:00:12 AM
rw-r--r--
📄
lexers.py
2.08 KB
10/07/2024 04:00:12 AM
rw-r--r--
📁
packages
-
02/11/2025 08:19:49 AM
rwxr-xr-x
📄
py.typed
0 bytes
10/07/2024 04:00:12 AM
rw-r--r--
📁
scripts
-
10/07/2024 04:00:12 AM
rwxr-xr-x
📄
shell_integration.py
7.6 KB
10/07/2024 04:00:12 AM
rw-r--r--
Editing: io.py
Close
import contextlib import os import sys _DEBUG = "_ARC_DEBUG" in os.environ debug_stream = sys.stderr def debug(*args): if _DEBUG: print(file=debug_stream, *args) @contextlib.contextmanager def mute_stdout(): stdout = sys.stdout sys.stdout = open(os.devnull, "w") try: yield finally: sys.stdout = stdout @contextlib.contextmanager def mute_stderr(): stderr = sys.stderr sys.stderr = open(os.devnull, "w") try: yield finally: sys.stderr.close() sys.stderr = stderr def warn(*args): """ Prints **args** to standard error when running completions. This will interrupt the user's command line interaction; use it to indicate an error condition that is preventing your completer from working. """ print(file=debug_stream) print(file=debug_stream, *args)