Pascal Chambon wrote: > I don't follow you there - in my mind, the default __getattribute__ > could simply have wrapped all its operations inside soem kind of > "try..catch AttributeError:" mechanism, and thus been able to fallback > to __getattr__ in any way. But then it would be incorrect to say that "__getattribute__ raises an exception". When we say that a function raises an exception, we normally mean that the exception propagates out of the function and can be seen by the caller, not that it was raised and caught somewhere inside the function. -- Greg
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4