Linux cpanel.rrshost.in 5.15.0-25-generic #25-Ubuntu SMP Wed Mar 30 15:54:22 UTC 2022 x86_64
Apache
: 109.123.238.221 | : 172.70.80.110
128 Domain
8.2.28
aev999
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
lib /
mysqlsh /
lib /
python3.13 /
asyncio /
[ HOME SHELL ]
Name
Size
Permission
Action
__init__.py
1.19
KB
-rw-r--r--
__main__.py
5.83
KB
-rw-r--r--
base_events.py
77.59
KB
-rw-r--r--
base_futures.py
1.93
KB
-rw-r--r--
base_subprocess.py
9.2
KB
-rw-r--r--
base_tasks.py
2.61
KB
-rw-r--r--
constants.py
1.38
KB
-rw-r--r--
coroutines.py
3.26
KB
-rw-r--r--
events.py
29.11
KB
-rw-r--r--
exceptions.py
1.71
KB
-rw-r--r--
format_helpers.py
2.66
KB
-rw-r--r--
futures.py
13.87
KB
-rw-r--r--
locks.py
20.1
KB
-rw-r--r--
log.py
124
B
-rw-r--r--
mixins.py
481
B
-rw-r--r--
proactor_events.py
32.71
KB
-rw-r--r--
protocols.py
6.79
KB
-rw-r--r--
queues.py
9.94
KB
-rw-r--r--
runners.py
6.99
KB
-rw-r--r--
selector_events.py
46.96
KB
-rw-r--r--
sslproto.py
30.97
KB
-rw-r--r--
staggered.py
5.55
KB
-rw-r--r--
streams.py
27.81
KB
-rw-r--r--
subprocess.py
7.56
KB
-rw-r--r--
taskgroups.py
9.02
KB
-rw-r--r--
tasks.py
38.83
KB
-rw-r--r--
threads.py
790
B
-rw-r--r--
timeouts.py
5.92
KB
-rw-r--r--
transports.py
10.55
KB
-rw-r--r--
trsock.py
2.42
KB
-rw-r--r--
unix_events.py
53.14
KB
-rw-r--r--
windows_events.py
31.87
KB
-rw-r--r--
windows_utils.py
4.94
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : format_helpers.py
import functools import inspect import reprlib import sys import traceback from . import constants def _get_function_source(func): func = inspect.unwrap(func) if inspect.isfunction(func): code = func.__code__ return (code.co_filename, code.co_firstlineno) if isinstance(func, functools.partial): return _get_function_source(func.func) if isinstance(func, functools.partialmethod): return _get_function_source(func.func) return None def _format_callback_source(func, args, *, debug=False): func_repr = _format_callback(func, args, None, debug=debug) source = _get_function_source(func) if source: func_repr += f' at {source[0]}:{source[1]}' return func_repr def _format_args_and_kwargs(args, kwargs, *, debug=False): """Format function arguments and keyword arguments. Special case for a single parameter: ('hello',) is formatted as ('hello'). Note that this function only returns argument details when debug=True is specified, as arguments may contain sensitive information. """ if not debug: return '()' # use reprlib to limit the length of the output items = [] if args: items.extend(reprlib.repr(arg) for arg in args) if kwargs: items.extend(f'{k}={reprlib.repr(v)}' for k, v in kwargs.items()) return '({})'.format(', '.join(items)) def _format_callback(func, args, kwargs, *, debug=False, suffix=''): if isinstance(func, functools.partial): suffix = _format_args_and_kwargs(args, kwargs, debug=debug) + suffix return _format_callback(func.func, func.args, func.keywords, debug=debug, suffix=suffix) if hasattr(func, '__qualname__') and func.__qualname__: func_repr = func.__qualname__ elif hasattr(func, '__name__') and func.__name__: func_repr = func.__name__ else: func_repr = repr(func) func_repr += _format_args_and_kwargs(args, kwargs, debug=debug) if suffix: func_repr += suffix return func_repr def extract_stack(f=None, limit=None): """Replacement for traceback.extract_stack() that only does the necessary work for asyncio debug mode. """ if f is None: f = sys._getframe().f_back if limit is None: # Limit the amount of work to a reasonable amount, as extract_stack() # can be called for each coroutine and future in debug mode. limit = constants.DEBUG_STACK_DEPTH stack = traceback.StackSummary.extract(traceback.walk_stack(f), limit=limit, lookup_lines=False) stack.reverse() return stack
Close