]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Made a small adjustment to the mechanics of lazy loading,
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 28 Aug 2014 21:57:48 +0000 (17:57 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 28 Aug 2014 21:57:48 +0000 (17:57 -0400)
commitfa5522547150687c9b3cd41d28df08ab0512b5b2
tree7190563b7a1c282a6b2bde3414a58a54e5e2ee56
parent9f4caf97b0172065fdf0f6da8f073d72abf8fd84
- Made a small adjustment to the mechanics of lazy loading,
such that it has less chance of interfering with a joinload() in the
very rare circumstance that an object points to itself; in this
scenario, the object refers to itself while loading its attributes
which can cause a mixup between loaders.   The use case of
"object points to itself" is not fully supported, but the fix also
removes some overhead so for now is part of testing.
fixes #3145
doc/build/changelog/changelog_10.rst
lib/sqlalchemy/orm/strategies.py
lib/sqlalchemy/testing/util.py
test/orm/test_lazy_relations.py