]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- The exception wrapping system for DBAPI errors can now accommodate
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 29 Jul 2014 18:06:43 +0000 (14:06 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 29 Jul 2014 18:17:49 +0000 (14:17 -0400)
commit8513fb588f7f2288cb15dd2bd1e4066b60e139b3
tree7567e6f4ee7d20267d282ae4eeecb76f7ffe9c87
parente974bed379e4a224936eaf226840d0d328ff2d72
- The exception wrapping system for DBAPI errors can now accommodate
non-standard DBAPI exceptions, such as the psycopg2
TransactionRollbackError.  These exceptions will now be raised
using the closest available subclass in ``sqlalchemy.exc``, in the
case of TransactionRollbackError, ``sqlalchemy.exc.OperationalError``.
fixes #3075
doc/build/changelog/changelog_09.rst
lib/sqlalchemy/exc.py
test/dialect/postgresql/test_dialect.py
test/engine/test_execute.py