diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2020-02-01 12:27:09 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2020-02-01 13:12:57 -0500 |
commit | c797056413230cc5c11bc458e5f7760063c2682e (patch) | |
tree | 58a7cebda24e574aafe4a04b1258680248ed59fd /lib/sqlalchemy/engine/default.py | |
parent | 2df647cd7590ae31b542256a5036d2ff49f321aa (diff) | |
download | sqlalchemy-c797056413230cc5c11bc458e5f7760063c2682e.tar.gz |
Do away with pool._refs
This collection was added only for the benefit of unit tests
and is unnecessary for the pool to function. As SQLAlchemy 2.0
will be removing the automatic handling of connections that are
garbage collection, remove this collection so that we ultimately
don't need a weakref handler to do anything within the pool.
The handler will do nothing other than emit a warning that
a connection was dereferenced without being explicitly returned
to the pool, invalidated, or detached.
Change-Id: I4ca196270d5714efbac44dbf6f034e8c7f0af58a
Diffstat (limited to 'lib/sqlalchemy/engine/default.py')
0 files changed, 0 insertions, 0 deletions