]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Fixed bug whereby if a mapped class
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 17 Jul 2011 20:44:07 +0000 (16:44 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 17 Jul 2011 20:44:07 +0000 (16:44 -0400)
commitdfe81ee73db80a3ec91732946c3054370f6454ee
treeeb5a1f5d5f5c191096ff6319bd25ca9c29e727a8
parent19c763032d5ab0db5199a1bb62eaee58a099fda9
- Fixed bug whereby if a mapped class
redefined __hash__() or __eq__() to something
non-standard, which is a supported use case
as SQLA should never consult these,
the methods would be consulted if the class
was part of a "composite" (i.e. non-single-entity)
result set.  [ticket:2215]
CHANGES
lib/sqlalchemy/orm/query.py
lib/sqlalchemy/util.py
test/orm/test_mapper.py