summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2013-04-09 14:21:40 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2013-04-09 14:21:40 -0400
commitd84ae4f75468fea6b3345c1275d6a472d0cf7c5f (patch)
tree69ae37b83fcbd196cb4cb9424c7f407ebf7acf21 /doc
parent70a173d22b520b41acc8624f1a1d6c8c456412f7 (diff)
downloadsqlalchemy-d84ae4f75468fea6b3345c1275d6a472d0cf7c5f.tar.gz
Fixed indirect regression regarding :func:`.has_inherited_table`,
where since it considers the current class' ``__table__``, was sensitive to when it was called. This is 0.7's behavior also, but in 0.7 things tended to "work out" within events like ``__mapper_args__()``. :func:`.has_inherited_table` now only considers superclasses, so should return the same answer regarding the current class no matter when it's called (obviously assuming the state of the superclass). [ticket:2656]
Diffstat (limited to 'doc')
-rw-r--r--doc/build/changelog/changelog_08.rst13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/build/changelog/changelog_08.rst b/doc/build/changelog/changelog_08.rst
index 503b8932b..cbc849095 100644
--- a/doc/build/changelog/changelog_08.rst
+++ b/doc/build/changelog/changelog_08.rst
@@ -7,6 +7,19 @@
:version: 0.8.1
.. change::
+ :tags: bug, orm, declarative
+ :tickets: 2656
+
+ Fixed indirect regression regarding :func:`.has_inherited_table`,
+ where since it considers the current class' ``__table__``, was
+ sensitive to when it was called. This is 0.7's behavior also,
+ but in 0.7 things tended to "work out" within events like
+ ``__mapper_args__()``. :func:`.has_inherited_table` now only
+ considers superclasses, so should return the same answer
+ regarding the current class no matter when it's called
+ (obviously assuming the state of the superclass).
+
+ .. change::
:tags: bug, orm
:tickets: 2699