]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- mapped classes which extend "object" and do not provide an
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 29 Dec 2007 19:20:38 +0000 (19:20 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 29 Dec 2007 19:20:38 +0000 (19:20 +0000)
commita582fe3b2645f4c12221b0dc8940cefffe674a93
tree018ccd85ce1675c3bbefd83d7af3955c1d93a7b6
parent90d38c7407e532462059d2e98cb8d3bab31f7a36
- mapped classes which extend "object" and do not provide an
__init__() method will now raise TypeError if non-empty *args
or **kwargs are present at instance construction time (and are
not consumed by any extensions such as the scoped_session mapper),
consistent with the behavior of normal Python classes [ticket:908]
CHANGES
lib/sqlalchemy/orm/attributes.py
lib/sqlalchemy/orm/scoping.py
test/orm/inheritance/basic.py
test/orm/inheritance/manytomany.py
test/orm/mapper.py
test/orm/session.py