diff options
author | Federico Caselli <cfederico87@gmail.com> | 2020-05-21 21:50:49 +0200 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2020-05-23 19:40:06 -0400 |
commit | f79953a874c201a31a8972b999d18547bf227f25 (patch) | |
tree | e71779e41fc3d7dc8a1bacfd0aea6716a80c5856 /lib/sqlalchemy/sql/traversals.py | |
parent | 31d1846b76baec6ffa4c65bd72456a58f7b2ef1b (diff) | |
download | sqlalchemy-f79953a874c201a31a8972b999d18547bf227f25.tar.gz |
Avoid proxy functions in row functions
This streamlines a bit for non-C implementations, however
also adds and tests behavioral contracts that mappings should
not allow integer or slice access and should behave like a
Python mapping in that it raises KeyError for an integer
and TypeError for a slice. Py3/Py2/C/noC :)
References: #5340
Change-Id: Id3cef452dc8a526b8371c90c5ca2bbb240b25c26
Diffstat (limited to 'lib/sqlalchemy/sql/traversals.py')
0 files changed, 0 insertions, 0 deletions