News for hackers. Stuff that matters.
Re:A few things to remember while coding in Python by coderdude on Sunday May 20, 2012 @11:37PM (#4001150)

  def f(x=None):
        x = x if x is not None else []
        return x
Now it will assign that value back to x. Otherwise it would just evaluate the expression.
Re:A few things to remember while coding in Python by chernevik on Monday May 21, 2012 @06:00AM (#4002086)
Thanks for the additional clarity.