✘✘ GRAYBYTE WORDPRESS FILE MANAGER ✘✘

​🇳​​🇦​​🇲​​🇪♯➤ server366.web-hosting.com ​🇻​♯➤ 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP 🇾​♯➤ 2025

𝗛𝗢𝗠𝗘 𝗜𝗗 ♯➤ 67.223.118.204 ♯➤ 𝗔𝗗𝗠𝗜𝗡 𝗜𝗗 216.73.217.62
𝗢𝗣𝗧𝗜𝗢𝗡𝗦 ♯ CRL ♯➤ 𝗢𝗞 ┃ WGT ♯➤ 𝗢𝗞 ┃ SDO ♯➤ 𝗢𝗙𝗙 ┃ PKEX ♯➤ 𝗢𝗙𝗙
𝗗𝗘𝗔𝗖𝗧𝗜𝗩𝗔𝗧𝗘𝗗 ♯➤ 𝗔𝗟𝗟 𝗪𝗢𝗥𝗞𝗜𝗡𝗚....

𝗛𝗢𝗠𝗘
𝗖𝗨𝗥𝗥𝗘𝗡𝗧 𝗙𝗜𝗟𝗘 : /opt/alt/python313/lib64/python3.13/asyncio//__main__.py
import ast
import asyncio
import concurrent.futures
import contextvars
import inspect
import os
import site
import sys
import threading
import types
import warnings

from _colorize import can_colorize, ANSIColors  # type: ignore[import-not-found]
from _pyrepl.console import InteractiveColoredConsole

from . import futures


class AsyncIOInteractiveConsole(InteractiveColoredConsole):

    def __init__(self, locals, loop):
        super().__init__(locals, filename="<stdin>")
        self.compile.compiler.flags |= ast.PyCF_ALLOW_TOP_LEVEL_AWAIT

        self.loop = loop
        self.context = contextvars.copy_context()

    def runcode(self, code):
        global return_code
        future = concurrent.futures.Future()

        def callback():
            global return_code
            global repl_future
            global keyboard_interrupted

            repl_future = None
            keyboard_interrupted = False

            func = types.FunctionType(code, self.locals)
            try:
                coro = func()
            except SystemExit as se:
                return_code = se.code
                self.loop.stop()
                return
            except KeyboardInterrupt as ex:
                keyboard_interrupted = True
                future.set_exception(ex)
                return
            except BaseException as ex:
                future.set_exception(ex)
                return

            if not inspect.iscoroutine(coro):
                future.set_result(coro)
                return

            try:
                repl_future = self.loop.create_task(coro, context=self.context)
                futures._chain_future(repl_future, future)
            except BaseException as exc:
                future.set_exception(exc)

        self.loop.call_soon_threadsafe(callback, context=self.context)

        try:
            return future.result()
        except SystemExit as se:
            return_code = se.code
            self.loop.stop()
            return
        except BaseException:
            if keyboard_interrupted:
                if not CAN_USE_PYREPL:
                    self.write("\nKeyboardInterrupt\n")
            else:
                self.showtraceback()
            return self.STATEMENT_FAILED

class REPLThread(threading.Thread):

    def run(self):
        global return_code

        try:
            if not sys.flags.quiet:
                banner = (
                    f'asyncio REPL {sys.version} on {sys.platform}\n'
                    f'Use "await" directly instead of "asyncio.run()".\n'
                    f'Type "help", "copyright", "credits" or "license" '
                    f'for more information.\n'
                )

                console.write(banner)

            if not sys.flags.isolated and (startup_path := os.getenv("PYTHONSTARTUP")):
                sys.audit("cpython.run_startup", startup_path)

                import tokenize
                with tokenize.open(startup_path) as f:
                    startup_code = compile(f.read(), startup_path, "exec")
                    exec(startup_code, console.locals)

            ps1 = getattr(sys, "ps1", ">>> ")
            if can_colorize() and CAN_USE_PYREPL:
                ps1 = f"{ANSIColors.BOLD_MAGENTA}{ps1}{ANSIColors.RESET}"
            console.write(f"{ps1}import asyncio\n")

            if CAN_USE_PYREPL:
                from _pyrepl.simple_interact import (
                    run_multiline_interactive_console,
                )
                try:
                    run_multiline_interactive_console(console)
                except SystemExit:
                    # expected via the `exit` and `quit` commands
                    pass
                except BaseException:
                    # unexpected issue
                    console.showtraceback()
                    console.write("Internal error, ")
                    return_code = 1
            else:
                console.interact(banner="", exitmsg="")
        finally:
            warnings.filterwarnings(
                'ignore',
                message=r'^coroutine .* was never awaited$',
                category=RuntimeWarning)

            loop.call_soon_threadsafe(loop.stop)

    def interrupt(self) -> None:
        if not CAN_USE_PYREPL:
            return

        from _pyrepl.simple_interact import _get_reader
        r = _get_reader()
        if r.threading_hook is not None:
            r.threading_hook.add("")  # type: ignore


if __name__ == '__main__':
    sys.audit("cpython.run_stdin")

    if os.getenv('PYTHON_BASIC_REPL'):
        CAN_USE_PYREPL = False
    else:
        from _pyrepl.main import CAN_USE_PYREPL

    return_code = 0
    loop = asyncio.new_event_loop()
    asyncio.set_event_loop(loop)

    repl_locals = {'asyncio': asyncio}
    for key in {'__name__', '__package__',
                '__loader__', '__spec__',
                '__builtins__', '__file__'}:
        repl_locals[key] = locals()[key]

    console = AsyncIOInteractiveConsole(repl_locals, loop)

    repl_future = None
    keyboard_interrupted = False

    try:
        import readline  # NoQA
    except ImportError:
        readline = None

    interactive_hook = getattr(sys, "__interactivehook__", None)

    if interactive_hook is not None:
        sys.audit("cpython.run_interactivehook", interactive_hook)
        interactive_hook()

    if interactive_hook is site.register_readline:
        # Fix the completer function to use the interactive console locals
        try:
            import rlcompleter
        except:
            pass
        else:
            if readline is not None:
                completer = rlcompleter.Completer(console.locals)
                readline.set_completer(completer.complete)

    repl_thread = REPLThread(name="Interactive thread")
    repl_thread.daemon = True
    repl_thread.start()

    while True:
        try:
            loop.run_forever()
        except KeyboardInterrupt:
            keyboard_interrupted = True
            if repl_future and not repl_future.done():
                repl_future.cancel()
            repl_thread.interrupt()
            continue
        else:
            break

    console.write('exiting asyncio REPL...\n')
    loop.close()
    sys.exit(return_code)


Current_dir [ 𝗡𝗢𝗧 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]


[ Back ]
𝗡𝗔𝗠𝗘
𝗦𝗜𝗭𝗘
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛
𝗨𝗦𝗘𝗥
𝗦𝗧𝗔𝗧𝗨𝗦
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦
..
--
23 May 2026 5.07 AM
root / linksafe
0755
__pycache__
--
23 May 2026 5.07 AM
root / linksafe
0755
__init__.py
1.191 KB
28 Apr 2026 11.26 AM
root / linksafe
0644
__main__.py
6.134 KB
28 Apr 2026 11.26 AM
root / linksafe
0644
base_events.py
79.363 KB
28 Apr 2026 11.26 AM
root / linksafe
0644
base_futures.py
1.928 KB
28 Apr 2026 11.26 AM
root / linksafe
0644
base_subprocess.py
10.087 KB
28 Apr 2026 11.26 AM
root / linksafe
0644
base_tasks.py
2.609 KB
28 Apr 2026 11.26 AM
root / linksafe
0644
constants.py
1.38 KB
28 Apr 2026 11.26 AM
root / linksafe
0644
coroutines.py
3.264 KB
28 Apr 2026 11.26 AM
root / linksafe
0644
events.py
29.088 KB
28 Apr 2026 11.26 AM
root / linksafe
0644
exceptions.py
1.711 KB
28 Apr 2026 11.26 AM
root / linksafe
0644
format_helpers.py
2.663 KB
28 Apr 2026 11.26 AM
root / linksafe
0644
futures.py
13.856 KB
28 Apr 2026 11.26 AM
root / linksafe
0644
locks.py
20.098 KB
28 Apr 2026 11.26 AM
root / linksafe
0644
log.py
0.121 KB
28 Apr 2026 11.26 AM
root / linksafe
0644
mixins.py
0.47 KB
28 Apr 2026 11.26 AM
root / linksafe
0644
proactor_events.py
32.743 KB
28 Apr 2026 11.26 AM
root / linksafe
0644
protocols.py
6.794 KB
28 Apr 2026 11.26 AM
root / linksafe
0644
queues.py
9.899 KB
28 Apr 2026 11.26 AM
root / linksafe
0644
runners.py
7.061 KB
28 Apr 2026 11.26 AM
root / linksafe
0644
selector_events.py
47.483 KB
28 Apr 2026 11.26 AM
root / linksafe
0644
sslproto.py
31.122 KB
28 Apr 2026 11.26 AM
root / linksafe
0644
staggered.py
6.911 KB
28 Apr 2026 11.26 AM
root / linksafe
0644
streams.py
27.813 KB
28 Apr 2026 11.26 AM
root / linksafe
0644
subprocess.py
7.556 KB
28 Apr 2026 11.26 AM
root / linksafe
0644
taskgroups.py
9.813 KB
28 Apr 2026 11.26 AM
root / linksafe
0644
tasks.py
38.825 KB
28 Apr 2026 11.26 AM
root / linksafe
0644
threads.py
0.771 KB
28 Apr 2026 11.26 AM
root / linksafe
0644
timeouts.py
5.92 KB
28 Apr 2026 11.26 AM
root / linksafe
0644
transports.py
10.555 KB
28 Apr 2026 11.26 AM
root / linksafe
0644
trsock.py
2.417 KB
28 Apr 2026 11.26 AM
root / linksafe
0644
unix_events.py
53.141 KB
28 Apr 2026 11.26 AM
root / linksafe
0644
windows_events.py
31.865 KB
28 Apr 2026 11.26 AM
root / linksafe
0644
windows_utils.py
5.314 KB
28 Apr 2026 11.26 AM
root / linksafe
0644

✘✘ GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME ✘✘
Static GIF Static GIF