On Fri, Oct 22, 2010 at 12:36 AM, Steven D'Aprano
<st...@remove-this-cybersource.com.au> wrote:
> On Thu, 21 Oct 2010 19:53:53 -0700, John Nagle wrote:
>>> This is a common newbie stumbling-block: Don't use lists (or anything
>>> mutable) as default argument values
>>
>>      That really should be an error.
>
> No it shouldn't. Punishing everybody for a newbie mistake that nobody
> makes twice would be the error.
>
> Default mutable arguments have their place

But it's a rather obscure one where it is almost never strictly
necessary to venture.

Cheers,
Chris
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to