]> granicus.if.org Git - python/commit
[3.7] bpo-8722: Document __getattr__ behavior with AttributeError in property (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 5 Feb 2018 03:16:49 +0000 (19:16 -0800)
committerNick Coghlan <ncoghlan@gmail.com>
Mon, 5 Feb 2018 03:16:49 +0000 (13:16 +1000)
commitfea0a12f6bee4a36b2c9533003e33a12c58d2d91
tree26bad8da60bd9ba7f5041bd0180280ca20c4959c
parent4abcbc0f0de8dc3c245950e118cd9d374dbfe42b
[3.7] bpo-8722: Document __getattr__ behavior with AttributeError in property (GH-5543)

When `__getattr__` is implemented, attribute lookup will always fall back to that,
even if the initial failure comes from `__getattribute__` or a descriptor's `__get__`
method (including property methods).
(cherry picked from commit d1f318105b8781b01f3507d5cb0fd841b977d5f2)

Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
Doc/reference/datamodel.rst
Misc/NEWS.d/next/Documentation/2018-02-03-06-11-37.bpo-8722.MPyVyj.rst [new file with mode: 0644]