The Versioned mixin described in
http://docs.sqlalchemy.org/en/rel_0_8/orm/examples.html#versioned-objects
(which I renamed VersionedMixin, but is otherwise the same) has what I
would consider an unintuitive and undesirable interaction with backref: if
C references A with a backref, adding a
Very strange how these reports are always in pairs. This recipe has been there
for several years now, yet literally two days ago, someone submitted a pull
request pointing out and repairing this issue for the first time. The
pullreq has been merged and you can apply the changes it has here: