From: Daniele Varrazzo Date: Sun, 26 Sep 2021 23:33:16 +0000 (+0200) Subject: Drop TODO points covered by the _dns module X-Git-Tag: 3.0~53 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1acf5f5d1a57f0ff960f1bd57cfa8f26955c945c;p=thirdparty%2Fpsycopg.git Drop TODO points covered by the _dns module --- diff --git a/psycopg/psycopg/connection.py b/psycopg/psycopg/connection.py index b24d5e307..12bc45e03 100644 --- a/psycopg/psycopg/connection.py +++ b/psycopg/psycopg/connection.py @@ -618,9 +618,6 @@ class Connection(BaseConnection[Row]): else: params["connect_timeout"] = None - # TODO: SRV lookup (RFC 2782) - # https://github.com/psycopg/psycopg/issues/70 - return params def close(self) -> None: diff --git a/psycopg/psycopg/connection_async.py b/psycopg/psycopg/connection_async.py index 015adf8ee..91b31a7dc 100644 --- a/psycopg/psycopg/connection_async.py +++ b/psycopg/psycopg/connection_async.py @@ -146,12 +146,6 @@ class AsyncConnection(BaseConnection[Row]): else: params["connect_timeout"] = None - # TODO: resolve host names to hostaddr asynchronously - # https://github.com/psycopg/psycopg/issues/69 - - # TODO: SRV lookup (RFC 2782) - # https://github.com/psycopg/psycopg/issues/70 - return params async def close(self) -> None: