News for hackers. Stuff that matters.
Re:Python's Mutable Default Problem by spenrose on Sunday February 20, 2011 @11:08AM (#2242144)
Yes, it's a wart. You learn the patterns he mentions pretty quickly.
Re:Python's Mutable Default Problem by code_duck on Sunday February 20, 2011 @03:22PM (#2242911)
I knew the pattern well from other languages, but would have assumed that it wasn't necessary in Python. So, this is good to note.