avoid mutable default argument value

Do not use "[]" as a default argument value because it is mutable; instead use a workaround described both here https://docs.python.org/3.4/tutorial/controlflow.html#default-argument-values and here https://docs.python.org/2.7/tutorial/controlflow.html#default-argument-values under "Important warning".