proposed language change to int/int==float (was: PEP0238 lament)

Stephen Horne steve at lurking.demon.co.uk
Wed Jul 25 03:27:00 EDT 2001


On Tue, 24 Jul 2001 18:01:27 GMT, "Terry Reedy" <tjreedy at home.com>
wrote:

>
>"Steve Horne" <sh at ttsoftware.co.uk> wrote in message
>news:su3rltc8d88jrjdv9v73otlbsrajleqs21 at 4ax.com...
>> > <list>*<list> raises a TypeError
>>
>> Given that other arithmetic operations have been hijacked for other
>> jobs (concat etc) with lists, there *is* no sensible meaning for
>this.
>
>Actually there *is*: cross concatenation, (somewhat similar to set
>cross products)
>
>L1*L2 := [i1+i2 for i1 in Li for i2 in L2]

Oops

Should have remembered that.




More information about the Python-list mailing list