]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Reworked internal exception raises that emit
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 18 Apr 2013 15:00:12 +0000 (11:00 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 18 Apr 2013 15:00:12 +0000 (11:00 -0400)
commit0bb05ffdf066ba108883a0a4165cb11894fb3d88
treed43edaf796cfb5a4853e8832db6f0e429deb9c5d
parente5d0592180a554a1220985d28dab8533030281f0
Reworked internal exception raises that emit
a rollback() before re-raising, so that the stack
trace is preserved from sys.exc_info() before entering
the rollback.  This so that the traceback is preserved
when using coroutine frameworks which may have switched
contexts before the rollback function returns.
[ticket:2703]
doc/build/changelog/changelog_08.rst
lib/sqlalchemy/engine/base.py
lib/sqlalchemy/engine/default.py
lib/sqlalchemy/engine/result.py
lib/sqlalchemy/orm/session.py
lib/sqlalchemy/util/__init__.py
lib/sqlalchemy/util/compat.py
lib/sqlalchemy/util/langhelpers.py