Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library

Comment by karpetrosyan

5 hours 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

karpetrosyan

Reply

saghm  4 hours ago

Somehow I have no trouble imagining this being used as a rationale to avoid unnecessary "magic" to the language for years

wrmsr  4 hours ago

[dead]

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities