Walk me through how Python looks up an attribute when you access obj.attr. Where do descriptors fit into this, and why does property work the way it does?
~4 min by voice
How to approach it
The interviewer checks whether the candidate understands the actual algorithm of object.__getattribute__ and the priorities of data/non-data descriptors relative to the instance __dict__, and whether they can use that to explain property, bound methods, cached_property and __getattr__, rather than just saying "first the object, then the class".
The interviewer will ask this question and listen. Think out loud and ask for a hint if you need one. When you're done, pause or tap “That's my answer”. In about a minute, your score and the points you covered show up here.