|
From: Christopher B. <Chr...@no...> - 2006-02-18 01:18:16
|
Travis Oliphant wrote:
> They just don't
> *stay* 0-d arrays and are converted to array scalars at almost every
> opportunity....
I'm still confused as to what the difference is. This (recent)
convesation started with my desire for a mutable scalar. CAn array
scalars fill this role?
What I mean by that role is some way to do:
x += 5 # (and friends)
x[()] = 45 # or some other notation
And have x be the same object throughout.
Heck even something like:
x.set(45)
would work for me.
Alexander Belopolsky wrote:
>>>>x[...] = 10
>
> or
>
>>>>x[()] = 10
I can't do that. HAs that been added since version: '0.9.2' ?
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chr...@no...
|