]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
check fairy for None in pool cleanup
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 4 Oct 2023 13:42:55 +0000 (09:42 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 4 Oct 2023 13:42:55 +0000 (09:42 -0400)
commit061e7f8b62c0f4d37664393985a91cb4b8b0c79a
tree51d6020c9db33a443e1da8315bc98f8bf769855c
parent88547c50a80a68173631d778153b84458d679d03
check fairy for None in pool cleanup

Fixed issue where under some garbage collection / exception scenarios the
connection pool's cleanup routine would raise an error due to an unexpected
set of state, which can be reproduced under specific conditions.

Fixes: #10414
Change-Id: Ie732f23290d0d3d641f37cd2fee55aff5b9d0857
doc/build/changelog/unreleased_20/10414.rst [new file with mode: 0644]
lib/sqlalchemy/pool/base.py
test/engine/test_pool.py