]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- fixed fairly critical bug whereby the same instance could be listed
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 5 Jan 2008 18:26:28 +0000 (18:26 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 5 Jan 2008 18:26:28 +0000 (18:26 +0000)
commite5b6c7bc334c52c22ae1c5199a802fa3649290cb
tree165100876949ad1af110c8cc21cc7d541fd892b3
parent9123a1d5ce6b016402296e4f7f7db49bb0fe3219
- fixed fairly critical bug whereby the same instance could be listed
more than once in the unitofwork.new collection; most typically
reproduced when using a combination of inheriting mappers and
ScopedSession.mapper, as the multiple __init__ calls per instance
could save() the object with distinct _state objects
CHANGES
lib/sqlalchemy/orm/attributes.py
test/orm/attributes.py
test/orm/session.py