]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Fixed more regressions caused by NEVER_SET; comparisons
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 20 Apr 2015 21:38:03 +0000 (17:38 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 20 Apr 2015 21:38:03 +0000 (17:38 -0400)
commita3af638e1a95d42075e25e87474663348dcf5c14
tree4549f2261067856a251367d49e97e40d0bb84b2c
parentbd61e7a3287079cf742f4df698bfe3628c090522
- Fixed more regressions caused by NEVER_SET; comparisons
to transient objects with attributes unset would leak NEVER_SET,
and negated_contains_or_equals would do so for any transient
object as the comparison used only the committed value.
Repaired the NEVER_SET cases, fixes #3371, and also made
negated_contains_or_equals() use state_attr_by_column() just
like a non-negated comparison, fixes #3374
doc/build/changelog/changelog_10.rst
doc/build/changelog/migration_10.rst
lib/sqlalchemy/orm/attributes.py
lib/sqlalchemy/orm/mapper.py
lib/sqlalchemy/orm/persistence.py
lib/sqlalchemy/orm/relationships.py
lib/sqlalchemy/orm/strategies.py
lib/sqlalchemy/orm/sync.py
test/ext/test_associationproxy.py
test/orm/test_attributes.py
test/orm/test_query.py