]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
changing Pool to use weakref callback for auto-cleanup, instead of __del__.
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 21 Aug 2007 18:18:21 +0000 (18:18 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 21 Aug 2007 18:18:21 +0000 (18:18 +0000)
commit04e70c708f99f4f0b8b6c48e3c631bfa02dcd78f
tree5116c349575f81ac5d0f8003f6d689072a2cb0a6
parent05e8f8a91906846f85ad49ca788e74c5377ea471
changing Pool to use weakref callback for auto-cleanup, instead of __del__.
Still leaving the RLock in Queue however since I see no guarantee that the weakref callback
isn't called at an arbitrary time.
lib/sqlalchemy/interfaces.py
lib/sqlalchemy/pool.py
test/engine/pool.py