]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- [feature] *Very limited* support for
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 14 Jul 2012 19:41:31 +0000 (15:41 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 14 Jul 2012 19:41:31 +0000 (15:41 -0400)
commit800efc75256283770d5c28ddd99f26f341733698
tree195206da35d9f2d434e9bd35596038ecaab1e832
parent6dad6332cd0b777e4d876f51fada4fdf31299c53
  - [feature] *Very limited* support for
    inheriting mappers to be GC'ed when the
    class itself is deferenced.  The mapper
    must not have its own table (i.e.
    single table inh only) without polymorphic
    attributes in place.
    This allows for the use case of
    creating a temporary subclass of a declarative
    mapped class, with no table or mapping
    directives of its own, to be garbage collected
    when dereferenced by a unit test.
    [ticket:2526]
CHANGES
lib/sqlalchemy/orm/mapper.py
lib/sqlalchemy/util/__init__.py
lib/sqlalchemy/util/_collections.py
lib/sqlalchemy/util/compat.py
test/orm/inheritance/test_abc_polymorphic.py
test/orm/inheritance/test_basic.py
test/perf/orm2010.py