]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Fixed unexpected-use regression where in the odd case that the
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 6 May 2015 21:07:24 +0000 (17:07 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 6 May 2015 21:07:24 +0000 (17:07 -0400)
commit1b120563905e29f9769fd6d2ce39922d15cebf7f
treef987041976e8aa32b8f3e554cf1c50ba1fec55b2
parent5c852409219e18fb3d3b1403bfc872b3fe99f802
- Fixed unexpected-use regression where in the odd case that the
primaryjoin of a relationship involved comparison to an unhashable
type such as an HSTORE, lazy loads would fail due to a hash-oriented
check on the statement parameters, modified in 1.0 as a result of
:ticket:`3061` to use hashing and modified in :ticket:`3368`
to occur in cases more common than "load on pending".
The values are now checked for the ``__hash__`` attribute beforehand.
fixes #3416
doc/build/changelog/changelog_10.rst
lib/sqlalchemy/orm/strategies.py
lib/sqlalchemy/util/__init__.py
lib/sqlalchemy/util/_collections.py
test/orm/test_lazy_relations.py