summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/interfaces.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2007-08-21 18:18:21 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2007-08-21 18:18:21 +0000
commit04e70c708f99f4f0b8b6c48e3c631bfa02dcd78f (patch)
tree5116c349575f81ac5d0f8003f6d689072a2cb0a6 /lib/sqlalchemy/interfaces.py
parent05e8f8a91906846f85ad49ca788e74c5377ea471 (diff)
downloadsqlalchemy-04e70c708f99f4f0b8b6c48e3c631bfa02dcd78f.tar.gz
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.
Diffstat (limited to 'lib/sqlalchemy/interfaces.py')
-rw-r--r--lib/sqlalchemy/interfaces.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/sqlalchemy/interfaces.py b/lib/sqlalchemy/interfaces.py
index 05a8a4a34..fef82626c 100644
--- a/lib/sqlalchemy/interfaces.py
+++ b/lib/sqlalchemy/interfaces.py
@@ -73,7 +73,7 @@ class PoolListener(object):
using the new connection.
"""
- def checkin(dbapi_con, con_record, con_proxy):
+ def checkin(dbapi_con, con_record):
"""Called when a connection returns to the pool.
Note that the connection may be closed, and may be None if the
@@ -86,8 +86,4 @@ class PoolListener(object):
con_record
The ``_ConnectionRecord`` that persistently manages the connection
- con_proxy
- The ``_ConnectionFairy`` which manages the connection for the span of
- the current checkout.
-
"""