News for hackers. Stuff that matters.
Re:Why Pendulum had to write the most cursed "+" operator in... by ariebovenberg on Thursday October 08, 2026 @10:46AM (#50006458)
For Python in general, stack walking ranks medium-cursed. A frame inspection can even be used for good: namedtuple from the stdlib IIRC uses it when building the class. What made Pendulum's example cursed IMHO is the fact that it's a mathematical operator, and it leaks out unintended behavior---like calling it depends on the caller's function name.

There are no comments on this comment yet.