Y
Hacker News
new
|
ask
|
show
|
jobs
by
karpetrosyan
30 days ago
Note that you can work around it by implementing `def __getattr__(name: str) -> object:` at the module level on earlier Python versions
2 comments
saghm
30 days ago
Somehow I have no trouble imagining this being used as a rationale to avoid unnecessary "magic" to the language for years
link
tehnub
29 days ago
Opus 4.7 did this in my code and I had never seen it before
link