side effects on *some* default parameters

Jp Calderone exarkun at intarweb.us
Wed Feb 12 16:36:23 EST 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.
> 

  http://www.python.org/doc/tut/node6.html

  Jp


-- 
        "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: <http://mail.python.org/pipermail/python-list/attachments/20030212/ba1988f7/attachment.sig>


More information about the Python-list mailing list