Python's attribute look-up
__getattribute__ is always called for attribute lookup. However if not found, __getattr__ is called.
We can leverage this mechanism falling back to getting attributes from anything else.
Below we use a dict for look-ups and if it's not found, raise t...
blog.danwald.me1 min read