rs387 wrote: > On Oct 2, 8:11 am, Erik Max Francis <[EMAIL PROTECTED]> wrote: >> It's because the `+=` operator is doing the equivalent of calling the >> `extend` method, which treats its argument as a generic sequence, and >> doesn't enforce type. > > I see. Do you know whether this is seen as a problem with the language > design?
No. [1,2,3] + [4,5,6] produces [1,2,3,4,5,6] not [1,2,3,[4,5,6]] Mel. -- http://mail.python.org/mailman/listinfo/python-list