Re: [Numpy-discussion] numpy import problem

2008-06-01 Thread David Cournapeau
On Mon, 2008-06-02 at 10:49 +0530, Bala subramanian wrote: > Dear Alan, > I am using python 2.4.3 that came pre-installed with my linux. I dnt > have any other version. But i noticed another problem. In fact no > other modules are getting imported now. I have pasted the error below. > Suggest me wh

Re: [Numpy-discussion] numpy import problem

2008-06-01 Thread Bala subramanian
Dear Alan, I am using python 2.4.3 that came pre-installed with my linux. I dnt have any other version. But i noticed another problem. In fact no other modules are getting imported now. I have pasted the error below. Suggest me what i should do now. $ python 'import site' failed; use -v for traceb

Re: [Numpy-discussion] array += masked_array gives a normal array, not masked array

2008-06-01 Thread Pierre GM
On Sunday 01 June 2008 11:22:05 Tony Yu wrote: > array + masked_array > outputs a masked array That's expected: you create a new object from two objects (array and masked_array), the latter has a higher priority than the former, you end up with a masked array > array += masked_array > outputs a

[Numpy-discussion] array += masked_array gives a normal array, not masked array

2008-06-01 Thread Tony Yu
Ok, so you guys shot down my last attempt at finding a bug :). Here's another attempt. array + masked_array outputs a masked array array += masked_array outputs an array. I'm actually not sure if this is a bug (works the same for both the old and new masked arrays), but I thoug

Re: [Numpy-discussion] Slice assignment and overlapping views (was: Strange behavior in setting masked array values in Numpy 1.1.0)

2008-06-01 Thread Charles R Harris
On Sun, Jun 1, 2008 at 1:37 AM, Anne Archibald <[EMAIL PROTECTED]> wrote: > 2008/5/31 Pauli Virtanen <[EMAIL PROTECTED]>: > > > The reason for the strange behavior of slice assignment is that when the > > left and right sides in a slice assignment are overlapping views of the > > same array, the r

[Numpy-discussion] ANN: PyQwt-5.1.0 released

2008-06-01 Thread Gerard Vermeulen
What is PyQwt ( http://pyqwt.sourceforge.net ) ? - it is a set of Python bindings for the Qwt C++ class library which extends the Qt framework with widgets for scientific and engineering applications. It provides a 2-dimensional plotting widget and various widgets to display and control bo

Re: [Numpy-discussion] What does "Ignoring attempt to set 'name' (from ... " mean ?

2008-06-01 Thread Robert Kern
On Thu, May 29, 2008 at 6:58 AM, David Cournapeau <[EMAIL PROTECTED]> wrote: > Robert Kern wrote: >> >> They're fine. Ignore them. They are silenced from the main setup.py with >> >> config.set_options(quiet=True) >> > What are the cases where those message are meaningful ? I did not > understa

Re: [Numpy-discussion] Slice assignment and overlapping views (was: Strange behavior in setting masked array values in Numpy 1.1.0)

2008-06-01 Thread Pauli Virtanen
su, 2008-06-01 kello 03:37 -0400, Anne Archibald kirjoitti: > 2008/5/31 Pauli Virtanen <[EMAIL PROTECTED]>: > > > The reason for the strange behavior of slice assignment is that when > the > > left and right sides in a slice assignment are overlapping views of > the > > same array, the result is c

Re: [Numpy-discussion] Slice assignment and overlapping views (was: Strange behavior in setting masked array values in Numpy 1.1.0)

2008-06-01 Thread Anne Archibald
2008/5/31 Pauli Virtanen <[EMAIL PROTECTED]>: > The reason for the strange behavior of slice assignment is that when the > left and right sides in a slice assignment are overlapping views of the > same array, the result is currently effectively undefined. Same is true > for ndarrays: > import