]> git.ipfire.org Git - thirdparty/psycopg.git/commit
refactor: use StopIteration.value instead of args as return after waiting
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Wed, 30 Oct 2024 16:41:49 +0000 (17:41 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Wed, 30 Oct 2024 16:41:49 +0000 (17:41 +0100)
commit677e33ff4a7136e19051c033951d8a7e1ab861e0
tree6f280aa001e85daa407ab99e4a5d6d4ce5102445
parenta683d59d8790b8a8a2405619a3bf0084919cac74
refactor: use StopIteration.value instead of args as return after waiting

Work around the issue reported in https://github.com/python/mypy/issues/18073

Thank you very much, @brianschubert, for pointing it out!
psycopg/psycopg/waiting.py
psycopg_c/psycopg_c/_psycopg/waiting.pyx