]> 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:56 +0000 (10:44 -0400)
commit2855d2a047530e3f3c3d462987729aa444c4a427
tree99ad35efe94c532a853158fe4d7d85000d7cc204
parent5361cfb8d3d620e5ad98676596b32d60bc4330d0
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
(cherry picked from commit ceba13d4be5e73fed4522d6f66ab4c54f60fd983)
doc/build/changelog/unreleased_13/5196.rst [new file with mode: 0644]
lib/sqlalchemy/orm/session.py
test/orm/test_session.py