Christian Heimes <[EMAIL PROTECTED]> added the comment:
The behavior is correct, expected and well documented.
http://effbot.org/pyfaq/why-are-default-values-shared-between-objects.htm
--
nosy: +christian.heimes
resolution: -> invalid
status: open -> closed
___
New submission from Pasha <[EMAIL PROTECTED]>:
Whenever the default argument to a function is a dictionary, and the
function is called twice, then the function "remembers" the changes to
the dictionary.
This means that any time that a default argument is set to a dictionary,
a list or any other