]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Fixed 1.0 regression where value objects that override
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 1 Jul 2015 17:19:28 +0000 (13:19 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 1 Jul 2015 17:19:28 +0000 (13:19 -0400)
commitee34f7276b8ce7ef4b5c746b5adf8f8c65f7c826
tree6c120a4652b2ca80974973dbcc54c045ea180bec
parent4d6f4ed184b94e60d5d39eff7fae678d64e9aeaa
- Fixed 1.0 regression where value objects that override
``__eq__()`` to return a non-boolean-capable object, such as
some geoalchemy types as well as numpy types, were being tested
for ``bool()`` during a unit of work update operation, where in
0.9 the return value of ``__eq__()`` was tested against "is True"
to guard against this.
fixes #3469
doc/build/changelog/changelog_10.rst
lib/sqlalchemy/orm/persistence.py
test/orm/test_unitofworkv2.py