[Sqlalchemy-commits] commit/sqlalchemy: 2 new changesets
Brought to you by:
zzzeek
From: Bitbucket <com...@bi...> - 2017-07-24 18:50:40
|
2 new commits in sqlalchemy: https://bitbucket.org/zzzeek/sqlalchemy/commits/3d8049e32d63/ Changeset: 3d8049e32d63 Branch: None User: zzzeek Date: 2017-07-24 15:48:13+00:00 Summary: Guard all indexed access in WeakInstanceDict Added ``KeyError`` checks to all methods within :class:`.WeakInstanceDict` where a check for ``key in dict`` is followed by indexed access to that key, to guard against a race against garbage collection that under load can remove the key from the dict after the code assumes its present, leading to very infrequent ``KeyError`` raises. Change-Id: I881cc2899f7961d29a0549f44149a2615ae7a4ea Fixes: #4030 Affected #: 2 files https://bitbucket.org/zzzeek/sqlalchemy/commits/fea7c7e48f5e/ Changeset: fea7c7e48f5e Branch: master User: zzzeek Date: 2017-07-24 18:49:23+00:00 Summary: Merge "Guard all indexed access in WeakInstanceDict" Affected #: 2 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. |