]> git.ipfire.org Git - thirdparty/psycopg.git/commit
refactor: introduce support function to split connection attempts
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Thu, 26 Oct 2023 16:28:17 +0000 (18:28 +0200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sat, 11 Nov 2023 19:16:40 +0000 (19:16 +0000)
commit7a20a156afef3486c8a4ba81b617c3617c5d5fc3
tree411819f59facb860f40c63e20305c406d689520c
parentcf8f433ba7b3994b36514ed1d44001bab3a38710
refactor: introduce support function to split connection attempts

Refactor the `resolve_hostaddr_async()` function to make use of such
facilities.
psycopg/psycopg/conninfo.py
tests/test_conninfo.py