]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- DeclarativeMeta exclusively uses cls.__dict__ (not dict_)
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 22 Feb 2010 22:31:49 +0000 (22:31 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 22 Feb 2010 22:31:49 +0000 (22:31 +0000)
commit75c5c0322ff47cec37d39eb4db48f574b0b79be0
treedb04dbe784369dc9cd87668e84fbb9d039a5a87f
parentc6dd43b25245a4e6cd184995357e97a0a8a1dbe7
- DeclarativeMeta exclusively uses cls.__dict__ (not dict_)
as the source of class information; _as_declarative exclusively
uses the  dict_ passed to it as the source of class information
(which when using DeclarativeMeta is cls.__dict__).  This should
in theory make it easier for custom metaclasses to modify
the state passed into _as_declarative.
CHANGES
lib/sqlalchemy/ext/declarative.py
test/ext/test_declarative.py