News for hackers. Stuff that matters.
Re:A few things to remember while coding in Python by andreasvc on Sunday May 20, 2012 @11:18AM (#3998963)
IMO mutable default arguments should be forbidden just as mutable keys are not accepted in dictionaries. All of the examples which claim to have a use-case for mutable default values can be rewritten with more explicit (thus more pythonic) constructs.

There are no comments on this comment yet.