diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2016-02-02 10:15:40 -0500 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2016-02-02 10:20:54 -0500 |
| commit | e0a580b3d055a600afae61840058a5a30ef5fe74 (patch) | |
| tree | 592356800f2b452028bae1f91ffcffad8157aa87 /lib/sqlalchemy/sql/functions.py | |
| parent | c8b3d4ed3f2638599fc73486cf0f724fa033a638 (diff) | |
| download | sqlalchemy-e0a580b3d055a600afae61840058a5a30ef5fe74.tar.gz | |
- 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
Diffstat (limited to 'lib/sqlalchemy/sql/functions.py')
0 files changed, 0 insertions, 0 deletions
