]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- some changes to the identity map regarding
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 5 Mar 2011 01:52:22 +0000 (20:52 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 5 Mar 2011 01:52:22 +0000 (20:52 -0500)
commit403d78697003805879be2fbad4693830e6d8d4c6
treebccc8d81712b8941a56f9afb9a7e0ab6d7da6599
parentcf5113115047032dd46724d1e3f56dfca6503eee
  - some changes to the identity map regarding
    rare weakref callbacks during iterations.
    The mutex has been removed as it apparently
    can cause a reentrant (i.e. in one thread) deadlock,
    perhaps when gc collects objects at the point of
    iteration in order to gain more memory.  It is hoped
    that "dictionary changed during iteration" will
    be exceedingly rare as iteration methods internally
    acquire the full list of objects in a single values()
    call. [ticket:2087]
CHANGES
lib/sqlalchemy/orm/identity.py
lib/sqlalchemy/orm/state.py
test/orm/test_session.py