]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Fixed bugs in ORM object comparisons where comparison of
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 20 Feb 2015 20:14:08 +0000 (15:14 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 20 Feb 2015 20:14:35 +0000 (15:14 -0500)
commit775ff3419fa03ddbb1b4b6d7350344b69df461ef
treeaafc6ddd45288090fcd05e7d46af7a14cad69ee9
parentf5d8a185940952f5c3647caa2d7fb4d1aa495a29
- Fixed bugs in ORM object comparisons where comparison of
many-to-one ``!= None`` would fail if the source were an aliased
class, or if the query needed to apply special aliasing to the
expression due to aliased joins or polymorphic querying; also fixed
bug in the case where comparing a many-to-one to an object state
would fail if the query needed to apply special aliasing
due to aliased joins or polymorphic querying.
fixes #3310

(cherry picked from commit 305ea84004fe604f461cd3c9438fbc84e3d790b2)
doc/build/changelog/changelog_09.rst
lib/sqlalchemy/orm/relationships.py
test/orm/inheritance/test_relationship.py
test/orm/test_query.py