On Aug 18, 3:04 am, Paul Boddie <[EMAIL PROTECTED]> wrote:
>
> Well, in the page of "Python warts" that I compiled when it was
> claimed that Python 3000 addresses such issues in Python 2.x, the
> "Mutable default arguments" entry lists at least one experienced
> Python author who agrees with the inquirer's assertion:
>
> http://wiki.python.org/moin/PythonWarts
>
> Paul

Not surprising, as it's fairly non-standard.  I'd even argue that
calling them "default arguments" is a misnomer -- they're more akin to
static variables.

It doesn't help that the solution to get the expected behavior
involves adding boiler-plate code all over.

-Jasper
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to