summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2013-12-07 17:20:05 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2013-12-07 17:20:05 -0500
commit6d5eae78a7dd79ad7bd0a0951bc6c95437d0fa8e (patch)
tree7284d9941af1fe4bdaaf11b0fb7c28ff90063781 /doc
parenta8efeb6c052330b7b8d44960132d638b08d42d18 (diff)
downloadsqlalchemy-6d5eae78a7dd79ad7bd0a0951bc6c95437d0fa8e.tar.gz
- A DBAPI that raises an error on ``connect()`` which is not a subclass
of dbapi.Error (such as ``TypeError``, ``NotImplementedError``, etc.) will propagate the exception unchanged. Previously, the error handling specific to the ``connect()`` routine would both inappropriately run the exception through the dialect's :meth:`.Dialect.is_disconnect` routine as well as wrap it in a :class:`sqlalchemy.exc.DBAPIError`. It is now propagated unchanged in the same way as occurs within the execute process. [ticket:2881] - add tests for this in test_parseconnect, but also add tests in test_execute to ensure the execute() behavior as well
Diffstat (limited to 'doc')
-rw-r--r--doc/build/changelog/changelog_08.rst14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/build/changelog/changelog_08.rst b/doc/build/changelog/changelog_08.rst
index 4c9cc85d9..0902ff7e4 100644
--- a/doc/build/changelog/changelog_08.rst
+++ b/doc/build/changelog/changelog_08.rst
@@ -12,6 +12,20 @@
:version: 0.8.4
.. change::
+ :tags: bug, engine
+ :versions: 0.9.0b2
+ :tickets: 2881
+
+ A DBAPI that raises an error on ``connect()`` which is not a subclass
+ of dbapi.Error (such as ``TypeError``, ``NotImplementedError``, etc.)
+ will propagate the exception unchanged. Previously,
+ the error handling specific to the ``connect()`` routine would both
+ inappropriately run the exception through the dialect's
+ :meth:`.Dialect.is_disconnect` routine as well as wrap it in
+ a :class:`sqlalchemy.exc.DBAPIError`. It is now propagated unchanged
+ in the same way as occurs within the execute process.
+
+ .. change::
:tags: bug, engine, pool
:versions: 0.9.0b2
:tickets: 2880