]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- [removed] The legacy "mutable" system of the
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 23 Apr 2012 22:59:17 +0000 (18:59 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 23 Apr 2012 22:59:17 +0000 (18:59 -0400)
commit841ea194bd7cf239323ee21320210fd6dc5c551d
tree0da6b6ae37d5def93b84e06afd451f50716c6caf
parent101da94e1282a410557784272bda58222ac048b4
- [removed] The legacy "mutable" system of the
ORM, including the MutableType class as well
as the mutable=True flag on PickleType
and postgresql.ARRAY has been removed.
In-place mutations are detected by the ORM
using the sqlalchemy.ext.mutable extension,
introduced in 0.7.   The removal of MutableType
and associated constructs removes a great
deal of complexity from SQLAlchemy's internals.
The approach performed poorly as it would incur
a scan of the full contents of the Session
when in use. [ticket:2442]
CHANGES
lib/sqlalchemy/dialects/postgresql/base.py
lib/sqlalchemy/orm/attributes.py
lib/sqlalchemy/orm/identity.py
lib/sqlalchemy/orm/instrumentation.py
lib/sqlalchemy/orm/state.py
lib/sqlalchemy/orm/strategies.py
lib/sqlalchemy/types.py
test/aaa_profiling/test_memusage.py
test/orm/test_attributes.py
test/orm/test_legacy_mutable.py [deleted file]