Hacker News new | ask | show | jobs
by rplnt 536 days ago
Probably because not using mutable default arguments is python 101. Just something you don't do or think about. But this is indeed clever use of that gotcha.