Remembered arguments to a function

David Goodger goodger at
Tue Mar 9 17:31:05 CET 2004

wruuqr ewfjbc wrote:
> Should I have expected the behavior of this function? 
> Is this a bug?  Is it wise to exploit this behavior?

That's a FAQ.  See <>,
question 4.21 "Why are default values shared between objects?".

-- David Goodger

More information about the Python-list mailing list