Proposal: add vector arithmetic to array module

Markus Schaber markus at schabi.de
Mon Sep 24 19:20:01 EDT 2001


Hi,

Paul Rubin <phr-n2001 at nightsong.com> schrub:

> It seems almost unnatural that given two arrays of the same type
> of element and the same length, I can't say "a = b + c" and get
> the arrays added together element-wise.  

For me, it seems "natural" that the above assigns a to the 
concatenation of b and c, just as it happens to strings.

markus
-- 
"The strength of the Constitution lies entirely in the determination of 
each citizen to defend it. Only if every single citizen feels duty 
bound to do his share in this defense are the constitutional rights 
secure." -- Albert Einstein



More information about the Python-list mailing list