]> git.ipfire.org Git - thirdparty/psycopg.git/commit
Raise PoolClosed on wait() on a closed pool
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Wed, 5 Jan 2022 02:24:52 +0000 (03:24 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Wed, 5 Jan 2022 22:13:43 +0000 (23:13 +0100)
commitf56b190d2c51e16ea60df2352ebf85379cbb4a3c
tree7da4775ff2e8e1ed64fdc56e885a252429c7f265
parent81ee74d830ea7b54aae365a6febaabdbe59bfeda
Raise PoolClosed on wait() on a closed pool

Previously it might have raised an assert, if, for instance, wait would
have failed and retried.
docs/news_pool.rst
psycopg_pool/psycopg_pool/pool.py
psycopg_pool/psycopg_pool/pool_async.py
tests/pool/test_pool.py
tests/pool/test_pool_async.py