> Is this functionality intended? Google for "Python mutable default arguments" (you can actually leave out Python). It's part of the language semantics, yes. Regards, Martin