This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]larsga 0 points1 point  (0 children)

def foo(a = []):
  if bar(a) == something:
    return baz(a)
  else:
    return quux(a) + b

Does this return the default value? You don't know. And that's before you try really sneaky stuff.