]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Repair broken call to sys.exc_info()
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 11 Mar 2020 14:41:12 +0000 (10:41 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 11 Mar 2020 14:44:48 +0000 (10:44 -0400)
commitceba13d4be5e73fed4522d6f66ab4c54f60fd983
treeb0e8b7195134f6592a51c0968ed44a33928655ae
parent7d8c64f9087bcde14dc641fe75f93a04823b86d6
Repair broken call to sys.exc_info()

Fixed regression in 1.3.14 due to :ticket:`4849` where a sys.exc_info()
call failed to be invoked correctly when a flush error would occur. Test
coverage has been added for this exception case.

Fixes: #5196
Change-Id: Ib59a58a3a9d4c9c6f4b751201b794816a9f70225
doc/build/changelog/unreleased_13/5196.rst [new file with mode: 0644]
lib/sqlalchemy/orm/session.py
test/orm/test_session.py