Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
spenrose
on Feb 20, 2011
|
parent
|
context
|
favorite
| on:
Python's Mutable Default Problem
Yes, it's a wart. You learn the patterns he mentions pretty quickly.
code_duck
on Feb 20, 2011
[–]
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.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: