4 ms·
ok, then it is nuts that __getattr__ (itself a specially blessed function) is not required to be pure at least from the caller point of view.
by gpderetta 7mo ago
ok, then it is nuts that __getattr__ (itself a specially blessed function) is not required to be pure at least from the caller point of view.
- Ardren 7mo agoIf it was it wouldn't be Python. It can never be pure because __getattr__ is just another method that anyone can overwrite.