]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- rework the entire approach to #3076. As we need to catch all exceptions
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 4 Jul 2014 19:40:47 +0000 (15:40 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 4 Jul 2014 19:40:47 +0000 (15:40 -0400)
commitdfb5707dae454448ab3e34e9c4ffda13419ca76b
tree08e547861564b775f813f99a65e073f73b24f95b
parentc60eb86a91eac57e556c07ee2a34870c065a9830
- rework the entire approach to #3076. As we need to catch all exceptions
in all cases unconditionally, the number of use cases that go beyond what
dbapi_error() is expecting has gone too far for an 0.9 release.
Additionally, the number of things we'd like to track is really a lot
more than the five arguments here, and ExecutionContext is really not
suitable as totally public API for this.   So restore dbapi_error
to its old version, deprecate, and build out handle_error instead.
This is a lot more extensible and doesn't get in the way of anything
compatibility-wise.
doc/build/changelog/changelog_09.rst
doc/build/changelog/migration_10.rst
doc/build/core/connections.rst
lib/sqlalchemy/engine/__init__.py
lib/sqlalchemy/engine/base.py
lib/sqlalchemy/engine/interfaces.py
lib/sqlalchemy/events.py
test/engine/test_execute.py