Hacker News new | ask | show | jobs
by cuteboy19 1583 days ago
I think this could have been fixed by always evaluating default args on each invocation. There is no reason why a default arg of all things should carry any mutable state. The people who would complain probably already had bugs in their code