]> granicus.if.org Git - python/commit
[3.6] 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:10:00 +0000 (19:10 -0800)
committerNick Coghlan <ncoghlan@gmail.com>
Mon, 5 Feb 2018 03:10:00 +0000 (13:10 +1000)
commita8c25d1c7f0d395861cc3e10dd01989150891c95
tree12d9d976ce4528a3f267e78757747d54ddf14b21
parent1c2b138671656abf8563a0cd7ef27c8c2e0be4e6
[3.6] bpo-8722: Document __getattr__ behavior with AttributeError in property (GH-5542)

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]