[Sqlalchemy-commits] commit/sqlalchemy: 2 new changesets
Brought to you by:
zzzeek
From: Bitbucket <com...@bi...> - 2016-02-02 15:41:36
|
2 new commits in sqlalchemy: https://bitbucket.org/zzzeek/sqlalchemy/commits/e0a580b3d055/ Changeset: e0a580b3d055 Branch: None User: zzzeek Date: 2016-02-02 15:20:54+00:00 Summary: - Fixed issue where inadvertent use of the Python ``__contains__`` override with a column expression (e.g. by using ``'x' in col``) would cause an endless loop in the case of an ARRAY type, as Python defers this to ``__getitem__`` access which never raises for this type. Overall, all use of ``__contains__`` now raises NotImplementedError. fixes #3642 Affected #: 5 files https://bitbucket.org/zzzeek/sqlalchemy/commits/69f6a8d714c0/ Changeset: 69f6a8d714c0 Branch: rel_1_0 User: zzzeek Date: 2016-02-02 15:41:01+00:00 Summary: - Fixed issue where inadvertent use of the Python ``__contains__`` override with a column expression (e.g. by using ``'x' in col``) would cause an endless loop in the case of an ARRAY type, as Python defers this to ``__getitem__`` access which never raises for this type. Overall, all use of ``__contains__`` now raises NotImplementedError. fixes #3642 (cherry picked from commit e0a580b3d055a600afae61840058a5a30ef5fe74) Affected #: 5 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. |