]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- simplify the "noconnection" error handling, setting
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 8 Dec 2014 19:05:20 +0000 (14:05 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 8 Dec 2014 19:05:20 +0000 (14:05 -0500)
commitb7cf11b163dd7d15f56634a41dcceb880821ecf3
tree2b89e02882aab3f84ab5f24143a8c5e5dcab31c3
parent8553c195c24f67ff5d75893ddad57d1003fb9759
- simplify the "noconnection" error handling, setting
_handle_dbapi_exception_noconnection() to only invoke in the case
of raw_connection() in the constructor of Connection.   in all other
cases the Connection proceeds with _handle_dbapi_exception() including
revalidate.
lib/sqlalchemy/engine/base.py
lib/sqlalchemy/engine/threadlocal.py
test/engine/test_reconnect.py