[Sqlalchemy-commits] commit/sqlalchemy: 2 new changesets
Brought to you by:
zzzeek
From: Bitbucket <com...@bi...> - 2016-09-26 18:17:52
|
2 new commits in sqlalchemy: https://bitbucket.org/zzzeek/sqlalchemy/commits/7827dfb6726a/ Changeset: 7827dfb6726a Branch: None User: zzzeek Date: 2016-09-21 22:39:31+00:00 Summary: Handle BaseException in all _handle_dbapi_error Tests illustrate that exceptions like GreenletExit and even KeyboardInterrupt can corrupt the state of a DBAPI connection like that of pymysql and mysqlclient. Intercept BaseException errors within the handle_error scheme and invalidate just the connection alone in this case, but not the whole pool. The change is backwards-incompatible with a program that currently intercepts ctrl-C within a database transaction and wants to continue working on that transaction. Ensure the event hook can be used to reverse this behavior. Change-Id: Ifaa013c13826d123eef34e32b7e79fff74f1b21b Fixes: #3803 Affected #: 8 files https://bitbucket.org/zzzeek/sqlalchemy/commits/f09056323e2c/ Changeset: f09056323e2c Branch: master User: zzzeek Date: 2016-09-26 18:16:32+00:00 Summary: Merge "Handle BaseException in all _handle_dbapi_error" Affected #: 8 files Repository URL: https://bitbucket.org/zzzeek/sqlalchemy/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email. |