summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql/elements.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2017-07-14 18:06:48 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2017-08-25 16:12:30 -0400
commitf87069a3b0e9c2d79eced81a0326a9a904106dc6 (patch)
tree6a5fb58ff0c92af3c3ebcd0af9c5c954fde43864 /lib/sqlalchemy/sql/elements.py
parent887fb3ebaad20847edc752f5fcf072ace947d56a (diff)
downloadsqlalchemy-f87069a3b0e9c2d79eced81a0326a9a904106dc6.tar.gz
Don't do recovery operations under Empty/AttributeError
Made some adjustments to :class:`.Pool` and :class:`.Connection` such that recovery logic is not run underneath exception catches for ``pool.Empty``, ``AttributeError``, since when the recovery operation itself fails, Python 3 creates a misleading stack trace referring to the ``Empty`` / ``AttributeError`` as the cause, when in fact these exception catches are part of control flow. Change-Id: Id3ed9a8f96ce4ccb4009c94af30ddc2ddb9818b9 Fixes: #4028
Diffstat (limited to 'lib/sqlalchemy/sql/elements.py')
0 files changed, 0 insertions, 0 deletions