]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Re-raise ``CancelledError`` in asyncpg
authorFederico Caselli <cfederico87@gmail.com>
Thu, 10 Jul 2025 22:21:54 +0000 (00:21 +0200)
committerFederico Caselli <cfederico87@gmail.com>
Thu, 10 Jul 2025 22:22:19 +0000 (00:22 +0200)
commit36da2eaf3e23269f2cf28420ae73674beafd0661
treeff7e5020e5614a8fdbc18c6d606acedc6311376a
parent46c507fb31e6d44c255083d05103235c1d70bd58
Re-raise ``CancelledError`` in asyncpg

Re-raise catched ``CancelledError`` in the terminate method of the
asyncpg dialect to avoid possible hangs of the code execution.

Fixes: #12728
Change-Id: Ia9a353ac7504592be00355001ef40b13ab51375c
doc/build/changelog/unreleased_20/12728.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/postgresql/asyncpg.py