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

Somehow I have no trouble imagining this being used as a rationale to avoid unnecessary "magic" to the language for years
Opus 4.7 did this in my code and I had never seen it before