summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authormike bayer <mike_mp@zzzcomputing.com>2019-05-31 00:50:20 +0000
committerGerrit Code Review <gerrit@bbpush.zzzcomputing.com>2019-05-31 00:50:20 +0000
commitb27abee6f02132e255efde44ed23dd83036f5cc5 (patch)
treebe2a163e010fce179d8dad51b0673e11e9a2833f /doc
parentdf99e1ef5f334ce7f4c8118c3e0bdf2949f54de3 (diff)
parent5ac10699e1111283ae848f9d3a6dcc4e09d8c1ef (diff)
downloadsqlalchemy-b27abee6f02132e255efde44ed23dd83036f5cc5.tar.gz
Merge "Rework AliasedClass __getattr__ to use top-level getattr()"
Diffstat (limited to 'doc')
-rw-r--r--doc/build/changelog/unreleased_13/4694.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/build/changelog/unreleased_13/4694.rst b/doc/build/changelog/unreleased_13/4694.rst
new file mode 100644
index 000000000..6205d0e24
--- /dev/null
+++ b/doc/build/changelog/unreleased_13/4694.rst
@@ -0,0 +1,10 @@
+.. change::
+ :tags: bug, orm
+ :tickets: 4694
+
+ Reworked the attribute mechanics used by :class:`.AliasedClass` to no
+ longer rely upon calling ``__getattribute__`` on the MRO of the wrapped
+ class, and to instead resolve the attribute normally on the wrapped class
+ using getattr(), and then unwrap/adapt that. This allows a greater range
+ of attribute styles on the mapped class including special ``__getattr__()``
+ schemes; but it also makes the code simpler and more resilient in general.