Should Python raise a warning for mutable default arguments?

Dan redalastor at
Fri Aug 22 22:52:08 CEST 2008

> Further, the tutorial is the first link on the python for programmers page,
> and on the non-programmers page it's the last link, so presumably any
> non-programmer continuing on is pointed to the next step.
> ... so as to emphasized enough, how more?
> Emile

In my experience, the problem is that usually, newbies upon reaching that
part of the tutorial do not understand it. I'd suggest that at the end of
the tutorial, when people have a better general idea of how Python works,
there would be a Python Gotchas section.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list