Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
gpderetta
3mo ago
0 comments
Save
Share
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.
0 comments
1 comments · 1 top-level
top
newest
oldest
Ardren
3mo ago
If it was it wouldn't be Python. It can never be pure because __getattr__ is just another method that anyone can overwrite.
j
/
k
navigate · click thread line to collapse