]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
merged current entity_management brach r3457-r3462. cleans up
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 5 Sep 2007 17:25:32 +0000 (17:25 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 5 Sep 2007 17:25:32 +0000 (17:25 +0000)
commit9717c7170917856e07331796d8439d30ac93006e
tree8e4da9bec57d973a3ba00496e807272acae5ba37
parent43a927f6e03e1c87c4ea9f1ffe6dce6d794ccdda
merged current entity_management brach r3457-r3462.  cleans up
'_state' mamangement in attributes, moves __init__() instrumntation into attributes.py,
and reduces method call overhead by removing '_state' property.
future enhancements may include _state maintaining a weakref to the instance and a
strong ref to its __dict__ so that garbage-collected instances can get added to 'dirty',
when weak-referenced identity map is used.
lib/sqlalchemy/orm/attributes.py
lib/sqlalchemy/orm/dynamic.py
lib/sqlalchemy/orm/mapper.py
lib/sqlalchemy/orm/session.py
test/orm/attributes.py
test/orm/collection.py
test/perf/masseagerload.py