fix bug caused by using mutable objects as default values to functions
- low and behold, I find that default values are created once; when the
function is defined, so I made this naive python error.
(see
http://effbot.org/pyfaq/why-are-default-values-shared-between-objects.htm)