In message <mailman.481.1288683620.2218.python-l...@python.org>, Chris Rebert wrote:
> On Fri, Oct 22, 2010 at 12:36 AM, Steven D'Aprano > <st...@remove-this-cybersource.com.au> wrote: >> >> Default mutable arguments have their place > > But it's a rather obscure one where it is almost never strictly > necessary to venture. Mediocre programmers with a hankering towards cleverness latch onto it as an ingenious way of maintaing persistent context in-between calls to a function, completely overlooking the fact that Python offers much more straightforward, comprehensible, flexible, and above all maintainable ways of doing that sort of thing. -- http://mail.python.org/mailman/listinfo/python-list