]> granicus.if.org Git - python/commit
bpo-8722: Document __getattr__ behavior with AttributeError in property (GH-4754)
authorCheryl Sabella <cheryl.sabella@gmail.com>
Mon, 5 Feb 2018 02:03:22 +0000 (21:03 -0500)
committerNick Coghlan <ncoghlan@gmail.com>
Mon, 5 Feb 2018 02:03:22 +0000 (12:03 +1000)
commitd1f318105b8781b01f3507d5cb0fd841b977d5f2
treea6e99b5ab1183095acd89ced108e2836c2ebaa53
parent05e806767b857b1eab838e712828e3a7d57cabf1
bpo-8722: Document __getattr__ behavior with AttributeError in property (GH-4754)

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).
Doc/reference/datamodel.rst
Misc/NEWS.d/next/Documentation/2018-02-03-06-11-37.bpo-8722.MPyVyj.rst [new file with mode: 0644]