]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
WeakCompositeKey was coded incorrectly and was not weakly referencing anything. ...
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 17 Jan 2009 06:27:02 +0000 (06:27 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 17 Jan 2009 06:27:02 +0000 (06:27 +0000)
commit345eaeed74588d97fc614a396dd6cfe5f8ece938
tree5982326823886bcd2f1ae4f4e62d283804127ff0
parentb58d6fe9d97cd458db4efb12609f829d5f7d5f9f
WeakCompositeKey was coded incorrectly and was not weakly referencing anything.  However when repaired, the usage within RelationLoader._create_joins() still creates cycles between key elements and the value placed in the dict.  In the interests of risk reduction, WCK is now removed and the two caches it was used for are now non-cached.  Speed comparisons with one join/eager-heavy web application show no noticeable effect in response time.
CHANGES
lib/sqlalchemy/orm/properties.py
lib/sqlalchemy/orm/strategies.py
lib/sqlalchemy/util.py
test/base/utils.py
test/profiling/memusage.py