A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/1999-June/095398.html below:

[Python-Dev] stackable ints [stupid idea (ignore) :v]

[Python-Dev] stackable ints [stupid idea (ignore) :v] [Python-Dev] stackable ints [stupid idea (ignore) :v]David Ascher da at ski.org
Fri Jun 11 19:42:59 CEST 1999
On Fri, 11 Jun 1999, Aaron Watters wrote:

> I thought it would be good to be able to do the following loop with Numeric
> arrays
> 
>     for x in array1:
>          array2[x] = array3[x] + array4[x]
>
> without any memory management being involved.  Right now, I think the

FYI, I think it should be done by writing:

array2[array1] = array3[array1] + array4[array1]

and doing "the right thing" in NumPy.  In other words, I don't think the
core needs to be involved.

--david

PS: I'm in the process of making the NumPy array objects ExtensionClasses,
    which will make the above much easier to do.



More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4