side effects on *some* default parameters

Jp Calderone exarkun at
Wed Feb 12 22:36:23 CET 2003

On Wed, Feb 12, 2003 at 04:21:57PM -0500, Joe Grossberg wrote:
> I was tripped up by this quirk of Python, and I was wondering if you 
> guys could provide some insight.


        "I quite agree with you," said the Duchess; "and the moral of
that is -- Be what you would seem to be' -- or, if you'd like it put
more simply -- Never imagine yourself not to be otherwise than what it
might appear to others that what you were or might have been was not 
otherwise than what you had been would have appeared to them to be
otherwise.'"       -- Lewis Carrol, "Alice in Wonderland"
 up 4 days, 2:28, 2 users, load average: 0.00, 0.00, 0.00
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <>

More information about the Python-list mailing list