Re:Python's Mutable Default Problem
by wyuenho on Sunday February 20, 2011 @12:38PM
(#2242407)
It's on SO's Python FAQ too. This is the only thing in Python that's really bitten me. I remember it took me like a week to figure this out when I was tearing down my algorithm bit by bit to find out whether my prove was wrong or the code.
http://stackoverflow.com/questions/1132941/least-astonishmen...