[Sqlalchemy-commits] commit/sqlalchemy: 2 new changesets
Brought to you by:
zzzeek
From: Bitbucket <com...@bi...> - 2017-07-24 18:50:41
|
2 new commits in sqlalchemy: https://bitbucket.org/zzzeek/sqlalchemy/commits/676c49b51de2/ Changeset: 676c49b51de2 Branch: None User: zzzeek Date: 2017-07-24 15:49:41+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 (cherry picked from commit 1a75f676d75b5daf67455d6e85b7b4df6f2316dc) Affected #: 2 files https://bitbucket.org/zzzeek/sqlalchemy/commits/5470ad6dc65d/ Changeset: 5470ad6dc65d Branch: rel_1_1 User: zzzeek Date: 2017-07-24 18:50:11+00:00 Summary: Merge "Guard all indexed access in WeakInstanceDict" into rel_1_1 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. |