Re: [Numpy-discussion] StringIO test failure with Python3.1.2

2010-03-26 Thread Charles R Harris
On Wed, Mar 24, 2010 at 12:41 PM, Pauli Virtanen > wrote: > Wed, 24 Mar 2010 13:35:51 -0500, Bruce Southey wrote: > [clip] > > elif isinstance(item, collections.Callable): > >File "/usr/local/lib/python3.1/abc.py", line 121, in > >__instancecheck__ > > subclass = instance.__clas

[Numpy-discussion] SciPy 2010 Tutorials: brainstorming and call for proposals

2010-03-26 Thread Brian Granger
Greetings everyone, This year, there will be two days of tutorials (June 28th and 29th) before the main SciPy 2010 conference. Each of the two tutorial tracks (intro, advanced) will have a 3-4 hour morning and afternoon session both days, for a total of 4 intro sessions and 4 advanced sessions. T

Re: [Numpy-discussion] Why this Difference in Importing NumPy 1.2 vs 1.4?

2010-03-26 Thread Wayne Watson
Thanks. How do I switch? Do I just pull down 1.3 or better 1.2 (I use it.), and install it? How do I (actually my colleague) somehow remove 1.4? Is it as easy as going to IDLE's path browser and removing, under site-packages, numpy? (I'm not sure that's even possible. I don't see a right-click

Re: [Numpy-discussion] Why this Difference in Importing NumPy 1.2 vs 1.4?

2010-03-26 Thread PHobson
Wayne, The current release of Scipy doesn't work perfectly well with Numpy 1.4. On my systems (Mac OS 10.6, WinXP, and Ubuntu), I'm running Numpy 1.4 with the current Scipy on Python 2.6.4. I get the same error you describe below on the first attempt. For some reason unknown to me, it works on

[Numpy-discussion] Why this Difference in Importing NumPy 1.2 vs 1.4?

2010-03-26 Thread Wayne Watson
I wrote a program in Python 2.5 under Win7 and it runs fine using Numpy 1.2 , but not on a colleague's machine who has a slightly newer 2.5. We both use IDLE to execute the program. During import he gets this: >>> Traceback (most recent call last):   File "C:\Documents and Settings\HP_Adminis

Re: [Numpy-discussion] f2py: "could not crack entity declaration"

2010-03-26 Thread David Warde-Farley
On 26-Mar-10, at 4:25 PM, David Warde-Farley wrote: > That said, I gave that wrapper a whirl and it crashed on me... > > I noticed you added an 'njd' argument to the wrapper for elnet, did > you modify the elnet Fortran function at all? Is it fine to have > arguments in the wrapped version that d

Re: [Numpy-discussion] Renamed numpy.lib.io ?

2010-03-26 Thread Pierre GM
On Mar 26, 2010, at 4:36 PM, Robert Kern wrote: > On Fri, Mar 26, 2010 at 15:29, Pierre GM wrote: >> All, >> I'm surprised by the renaming of numpy.lib.io to numpy.lib.npyio. Was it >> really necessary ? > > http://mail.scipy.org/pipermail/numpy-discussion/2010-March/049543.html > http://mail.sc

Re: [Numpy-discussion] Renamed numpy.lib.io ?

2010-03-26 Thread Robert Kern
On Fri, Mar 26, 2010 at 15:29, Pierre GM wrote: > All, > I'm surprised by the renaming of numpy.lib.io to numpy.lib.npyio. Was it > really necessary ? http://mail.scipy.org/pipermail/numpy-discussion/2010-March/049543.html http://mail.scipy.org/pipermail/numpy-discussion/2010-March/049551.html .

[Numpy-discussion] Renamed numpy.lib.io ?

2010-03-26 Thread Pierre GM
All, I'm surprised by the renaming of numpy.lib.io to numpy.lib.npyio. Was it really necessary ? Is it to take effect with the incoming numpy 2.0 release ? BTW, when is it scheduled ? ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://m

Re: [Numpy-discussion] f2py: "could not crack entity declaration"

2010-03-26 Thread David Warde-Farley
On 26-Mar-10, at 8:08 AM, Kevin Jacobs wrote: > On Thu, Mar 25, 2010 at 6:25 PM, David Warde-Farley >wrote: > >> I decided to give wrapping this code a try: >> >> http://morrislab.med.utoronto.ca/~dwf/GLMnet.f90 >> >> >> > I have a working f2py wrapper located at: > > http://code.google.co

Re: [Numpy-discussion] numpy.array(arr.flat) mutates arr if arr.flags.fortran: bug?

2010-03-26 Thread Charles R Harris
On Wed, Mar 24, 2010 at 1:13 PM, Zachary Pincus wrote: > Hello, > > I assume it is a bug that calling numpy.array() on a flatiter of a > fortran-strided array that owns its own data causes that array to be > rearranged somehow? > > Not sure what happens with a fancier-strided array that also owns

Re: [Numpy-discussion] f2py: "could not crack entity declaration"

2010-03-26 Thread Kevin Jacobs
On Thu, Mar 25, 2010 at 6:25 PM, David Warde-Farley wrote: > I decided to give wrapping this code a try: > >http://morrislab.med.utoronto.ca/~dwf/GLMnet.f90 > > > I have a working f2py wrapper located at: http://code.google.com/p/glu-genetics/source/browse/trunk/glu/lib/glm/glmnet.pyf I'