That mutable default argument value here is problematic. See http://docs.python-guide.org/en/latest/writing/gotchas/#mutable-default-arguments