]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
the "tack on the leftover tasks at the end" step of the "circular dependency sort"
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 20 Mar 2007 15:27:34 +0000 (15:27 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 20 Mar 2007 15:27:34 +0000 (15:27 +0000)
commite918ea6898266956cc4759fb9340ec8b4f9c3629
tree89dd2c4f283e7580db89270e5958bd4a84ea5de9
parentf6d48da9de778ca519f9370b7e448226851ed493
the "tack on the leftover tasks at the end" step of the "circular dependency sort"
makes a copy of those tasks with the circular_parent marked.  this way the tasks
do not iterate through their child items polymorphically, which is necessary because
the "circular sort" stores individual subclass tasks separately (i.e. saving/deleting
should not traverse polymorhically for those tasks)
CHANGES
lib/sqlalchemy/orm/unitofwork.py
test/orm/cycles.py