Paul Rubin wrote: > "C Barr Leigh" <[EMAIL PROTECTED]> writes: > >>Help! Have I found a serious bug? >>This seems like highly undesired behaviour to me. From the program >>below, I get output: > > > It is intentional, not a bug, see the docs. Whether it's desirable is > a different question.
True. It would make sense to disallow mutable values as initial values for optional arguments. The present behavior is silly. John Nagle -- http://mail.python.org/mailman/listinfo/python-list