From: matz@... (Yukihiro Matsumoto) Date: 2002-11-23T02:18:45+09:00 Subject: Re: Allow *array expansion anywhere in list Hi, In message "Re: Allow *array expansion anywhere in list" on 02/11/23, Carlos writes: |# now I have a 'line' method, from an external library, defined as: |# def line x1, y1, x2, y2, attrs | |line(*p1, *p2, attrs) # parse error |== | |Isn't this more clear and natural and mantainable and easy than | |line(p1.x, p1.y, p2.x, p2.y, attrs) | |? I don't think so. In my opinion, the latter is far easier to read and maintain, since we don't have to guess. Only case that *array is useful, is extending homogeneous values in the list, e.g. [a,b,c,*d,*e,f]. But I'm not sure if it is *that* useful enough o change the syntax, and loose symmetry with unary* in parameter list. matz.