From 852a63650851b152cfe0cf0c8e7c9331df172bee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Magalh=C3=A3es?= Date: Fri, 26 Apr 2024 12:22:20 +0100 Subject: [PATCH 1/2] docs: new documentation references --- src/netius/base/compat.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/netius/base/compat.py b/src/netius/base/compat.py index 55b90fdf..36b682e8 100644 --- a/src/netius/base/compat.py +++ b/src/netius/base/compat.py @@ -330,6 +330,8 @@ def _start_serving( ssl_handshake_timeout=None, ): # @TODO: this is pending proper Netius implementation + # to make it compatible with + # https://docs.python.org/3/library/asyncio-eventloop.html#asyncio.Server.start_serving self._add_reader( sock.fileno(), self._accept_connection, From 54cf62b674c3c030ce2c67defe305212c51324f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Magalh=C3=A3es?= Date: Fri, 26 Apr 2024 17:29:19 +0100 Subject: [PATCH 2/2] chore: removed extra todo --- src/netius/base/compat.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/netius/base/compat.py b/src/netius/base/compat.py index 36b682e8..98e7ee2d 100644 --- a/src/netius/base/compat.py +++ b/src/netius/base/compat.py @@ -823,9 +823,6 @@ def _serve_stream_compat( :see: https://docs.python.org/3/library/asyncio-eventloop.html#asyncio.loop.create_server """ - # @TODO: implement this stuff meaning that the compat - # mode is the mode in which Netius runs compatible - # with the asyncio module from . import common loop = loop or common.get_loop()