Re: [Numpy-discussion] recompiling needed for binary module after numpy 1.0

2007-01-07 Thread belinda thom
Robert, You are incredible! Triple Thanks! Will begin trying some of this stuff as soon as I've dealt w/hotter fires. --b On Jan 7, 2007, at 10:49 PM, Robert Kern wrote: > belinda thom wrote: > >> There's other reasons --- mostly curiousity driven --- that motivate >> me to try a "rawer" (e.

Re: [Numpy-discussion] recompiling needed for binary module after numpy 1.0

2007-01-07 Thread Robert Kern
belinda thom wrote: > There's other reasons --- mostly curiousity driven --- that motivate > me to try a "rawer" (e.g. source, non-pkg based) install: > > 1) My current kludge only supports TkAgg, so I can't play w/the wx > backend at all. Have no idea why > 2) My current kludge only works w/

Re: [Numpy-discussion] recompiling needed for binary module after numpy 1.0

2007-01-07 Thread Steve Lianoglou
Hi, > I have just completed installing ipython from source by running: > >python setup.py install > > in a directory from which I downloaded ipython via subversion. That > was pretty painless (this is my first such install of a relatively > big program, BTW). If scipy, numpy and matplotlib cou

Re: [Numpy-discussion] recompiling needed for binary module after numpy 1.0

2007-01-07 Thread belinda thom
On Jan 5, 2007, at 6:01 PM, Robert Kern wrote: > belinda thom wrote: >> On Jan 5, 2007, at 5:32 PM, Sebastian Haase wrote: >> >>> Hi, >>> All I did is recompiling my (on source code file) C extension. I >>> made >>> sure that it was including the current numpy header files. >> >> Where are these

[Numpy-discussion] segfault in numpy.float64(z) for complex z

2007-01-07 Thread Tim Leslie
Hi All, While debugging a scipy crash I came across the problem outlined in http://projects.scipy.org/scipy/numpy/ticket/412 Could someone shed some light on why this is happening, I got a bit lost in the numpy internals when I tried to track it down. Cheers, Tim __

[Numpy-discussion] Ticket #132

2007-01-07 Thread Tim Leslie
Hi all, I've been looking through some open tickets and found ticket #132 which suggests a number of ways to improve numpy's web presence. http://projects.scipy.org/scipy/numpy/ticket/132 The only outstanding item on this is point #2, "Pointing www.numpy.org to numeric.scipy.org instead of the S

[Numpy-discussion] Missing Py_DECREF?

2007-01-07 Thread Charles R Harris
In the following lines from the initmultiarray function in multiarraymodule.c there seems to be a missing Py_DECREF MultiArrayError = PyString_FromString ("multiarray.error"); PyDict_SetItemString (d, "error", MultiArrayError); Should, I think, be followed by Py_DECREF(MultiArrayError)

Re: [Numpy-discussion] Fwd: Advanced selection, duplicate indices, and augmented assignment

2007-01-07 Thread Sean R. Lynch
Travis Oliphant wrote: > I don't think we could make it work as he expects (and not radically > change NumPy itself so that other operations are very different) because > of the limitations of Python. > > The point was that it is too complicated to do any differently (and is > probably impossi

Re: [Numpy-discussion] Installing numpy from rpm

2007-01-07 Thread Satyendra Tomar
Thank you for your help. I was successful with your belowmentioned suggestions. Satyendra You've installed a SOURCE rpm -- what you need to do is build that rpm, then install the binary it produces: rpmbuild --rebuild numpy-1.0.1-1.src.rpm then look near the end of the output for where is p

Re: [Numpy-discussion] Exported symbols and code reorganization.

2007-01-07 Thread Charles R Harris
On 1/7/07, Robert Kern <[EMAIL PROTECTED]> wrote: Charles R Harris wrote: No, but as with mtrand, most of those arise from the fact that these functions are implemented in files other than the C file that contains the Python module code. In order for them to be called from the Python modul

Re: [Numpy-discussion] Installing numpy from rpm

2007-01-07 Thread Christopher Barker
Satyendra Tomar wrote: > I just used "rpm -Uvh numpy-1.0.1-1.src.rpm" to install numpy from the > rpm package, running under SuSE 10.1, 2.6.16.21 , > python 2.4.2 , GCC 4.1.0 but python can't still find the numpy module. You've installed a SOURCE rpm -- what you need to do i

Re: [Numpy-discussion] Exported symbols and code reorganization.

2007-01-07 Thread Robert Kern
Charles R Harris wrote: > Hi all, > > I've started some experiments at breaking up the large > multiarraymodule.c and arrayobject.c files. As part of this I also > looked at what symbols are currently exported by the *.so libraries. > Most are just the usual three python symbols, but multiarray,

[Numpy-discussion] Exported symbols and code reorganization.

2007-01-07 Thread Charles R Harris
Hi all, I've started some experiments at breaking up the large multiarraymodule.cand arrayobject.c files. As part of this I also looked at what symbols are currently exported by the *.so libraries. Most are just the usual three python symbols, but multiarray, mtrand, and fftpack_lite have extras