From: arapuandrei (@arapuandrei) <noreply+arapuandrei@github.com>
To: psycopg/psycopg <noreply+psycopg-psycopg@github.com>
Subject: Re: [psycopg/psycopg] issue #1475: pool.wait() raises AssertionError after a previous wait() was cancelled
Date: Tue, 10 Nov 2026 18:28:31 +0000
Message-ID: <gh-psycopg-psycopg-1475-c6775748522@github.com> (raw)
In-Reply-To: <gh-psycopg-psycopg-1475@github.com>
References: <gh-psycopg-psycopg-1475@github.com>
Hey @dvarrazzo , I saw you mentioned you'd handle this issue internally, but I thought I'd give it a try anyway. I added a fix and some regression tests, and all 57 CI checks passed.
If you haven't gotten around to fixing it yet, maybe you could take a look at this PR. Happy to make any changes if needed. Thanks!