Re: [Numpy-discussion] help from OS X 10.5 users wanted

2010-10-14 Thread Friedrich Romstedt
Vincent and me had some success: 15.10.10 05:34:35] Vincent Davis: so you have a dmg now? [15.10.10 05:34:48] Friedrich Romstedt: I cant believe it, I want to see the file first [15.10.10 05:35:06] Friedrich Romstedt: we have an mpkg in dist [15.10.10 05:35:37] Friedrich Romstedt: yes, we have one

Re: [Numpy-discussion] Awaiting confirmation before closing tickets

2010-10-14 Thread Pierre GM
On Oct 15, 2010, at 12:47 AM, Friedrich Romstedt wrote: > 2010/10/11 Pierre GM : >> All, >> The following tickets could be closed if somebody confirmed everything works >> OK: >> * 1586: fixed in r8714 >> * 1593: fixed in r8715 >> * 1591: fixed in r8713 >> * 1493: fixed a while ago (sorry, I com

Re: [Numpy-discussion] Awaiting confirmation before closing tickets

2010-10-14 Thread Friedrich Romstedt
2010/10/11 Pierre GM : > All, > The following tickets could be closed if somebody confirmed everything works > OK: > * 1586: fixed in r8714 > * 1593: fixed in r8715 > * 1591: fixed in r8713 > * 1493: fixed a while ago (sorry, I completely forgot to comment on it). > Let me know how it goes and I'l

Re: [Numpy-discussion] installing different tag or branches from git source

2010-10-14 Thread Vincent Davis
On Thu, Oct 14, 2010 at 6:41 AM, Ralf Gommers wrote: > > > On Thu, Oct 14, 2010 at 9:48 AM, Vincent Davis > wrote: >> >> Ok so this is more of a git question but and I think it might be >> simple I just don't get it. >> Lets say I get a copy of numpy, >> $git clone http://github.com/numpy/numpy.g

Re: [Numpy-discussion] Need help for the migration from Numeric to numpy

2010-10-14 Thread Fernando Perez
On Thu, Oct 14, 2010 at 10:55 AM, Christopher Barker wrote: >> We are speaking of potentially several hundred files.  It's part of the >> scientific work of the user of the last nine years... > > Let's hope he's got some tests! Yup. I converted a very complex code from Numeric to numpy years ago

Re: [Numpy-discussion] Need help for the migration from Numeric to numpy

2010-10-14 Thread Bruce Southey
On 10/14/2010 12:55 PM, Christopher Barker wrote: > On 10/14/10 9:46 AM, Frank Thommen wrote: >> We are speaking of potentially several hundred files. It's part of the >> scientific work of the user of the last nine years... > Let's hope he's got some tests! > >> Which conversion script do you m

Re: [Numpy-discussion] Need help for the migration from Numeric to numpy

2010-10-14 Thread Christopher Barker
On 10/14/10 9:46 AM, Frank Thommen wrote: > We are speaking of potentially several hundred files. It's part of the > scientific work of the user of the last nine years... Let's hope he's got some tests! > Which conversion script do you mean? I couldn't find any conversion > script that works or

Re: [Numpy-discussion] Need help for the migration from Numeric to numpy

2010-10-14 Thread Frank Thommen
Christopher Barker wrote: > On 10/14/10 12:20 AM, Frank Thommen wrote: >> I'm trying to help a user to migrate from Numeric to numpy. I found >> reference to alter_code1.py on >> http://numpy.scipy.org/old_array_packages.html. > > How much code is this? We are speaking of potentially several hun

Re: [Numpy-discussion] help from OS X 10.5 users wanted

2010-10-14 Thread Christopher Barker
On 10/14/10 6:26 AM, Ralf Gommers wrote: > NOTE: are there buildbots somewhere that could be used for this? > > There's only one OS X buildbot > (http://buildbot.scipy.org/builders/MacOSX_x86_64), but last time it > connected was in July. maybe a post to the pythonmac list would help this, too

Re: [Numpy-discussion] Need help for the migration from Numeric to numpy

2010-10-14 Thread Christopher Barker
On 10/14/10 12:20 AM, Frank Thommen wrote: > I'm trying to help a user to migrate from Numeric to numpy. I found > reference to alter_code1.py on > http://numpy.scipy.org/old_array_packages.html. How much code is this? I always just did the conversion by hand (with search and replace, of course

[Numpy-discussion] Mapping of a ring buffer to a numpy array

2010-10-14 Thread Daniele Nicolodi
Hello, I would like to write (in cython) python bindings for a library that interfaces with data acquisition hardware trough a kernel driver. Data can be exchanged with the kernel driver trough a memory mapped ring buffer. I would like to expose this ring buffer as a numpy array, however I would

Re: [Numpy-discussion] Using issubdtype to check integer types

2010-10-14 Thread Stéfan van der Walt
On Thu, Oct 14, 2010 at 5:18 PM, Robert Kern wrote: > |3> np.issubdtype(np.uint16, np.unsignedinteger) > True Thanks, just what I needed. Cheers Stéfan ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/

Re: [Numpy-discussion] Using issubdtype to check integer types

2010-10-14 Thread Robert Kern
2010/10/14 Stéfan van der Walt : > Hi all, > > Is this behaviour correct? > > In [18]: np.issubdtype(np.uint16, np.uint) > Out[18]: False Yes, it's correct. np.uint is a concrete type that is the platform-specific C unsigned long type: |1> np.uint The abstract base type is np.unsignedinteger:

Re: [Numpy-discussion] AttributeError: 'module' object has no attribute 'parse'

2010-10-14 Thread Robert Kern
On Thu, Oct 14, 2010 at 09:47, Nils Wagner wrote: >   File > "/data/home/nwagner/local/lib/python2.5/compiler/transformer.py", > line 29, in >     import parser >   File "/data/home/nwagner/parser.py", line 3, in > >     ast= compiler.parse( eq ) > AttributeError: 'module' object has no attribu

[Numpy-discussion] AttributeError: 'module' object has no attribute 'parse'

2010-10-14 Thread Nils Wagner
Hi all, I have Installed numpy via git. numpy.test() failed. Nils >>> import numpy >>> numpy.__version__ '2.0.0.dev8621' >>> numpy.test() Running unit tests for numpy Traceback (most recent call last): File "", line 1, in File "/data/home/nwagner/local/lib/python2.5/site-packages/numpy/t

[Numpy-discussion] SPARC debug request

2010-10-14 Thread Charles R Harris
Hi, Can someone running on SPARC take a look at ticket #1631. It is a SIGBUS error that only appears when running in 32 bit mode. I think nics has very nearly isolated the problem and it needs just a bit more work to find the fix. It would be nice to ge

Re: [Numpy-discussion] Need help for the migration from Numeric to numpy

2010-10-14 Thread Frank Thommen
Bruce Southey wrote: > On 10/14/2010 02:20 AM, Frank Thommen wrote: >> Hi, >> >> I'm trying to help a user to migrate from Numeric to numpy. I found >> reference to alter_code1.py on >> http://numpy.scipy.org/old_array_packages.html. >> >> >> [...] > Are you converting from Numeric or numarra

Re: [Numpy-discussion] Need help for the migration from Numeric to numpy

2010-10-14 Thread Bruce Southey
On 10/14/2010 02:20 AM, Frank Thommen wrote: Hi, I'm trying to help a user to migrate from Numeric to numpy. I found reference to alter_code1.py on http://numpy.scipy.org/old_array_packages.html. First I tried the conversion script: # python2.6 /path/to/alter_code1.py test.py and alternati

Re: [Numpy-discussion] help from OS X 10.5 users wanted

2010-10-14 Thread Ralf Gommers
On Thu, Oct 14, 2010 at 12:44 AM, Christopher Barker wrote: > On 10/13/10 8:30 AM, Ralf Gommers wrote: > > For what it's worth, the posted binary seems to work fine on my OS-X > > 10.5 PPC system (python2.6), so maybe the PPC part works, the Intel > part > > not. > > > > Thanks, good t

Re: [Numpy-discussion] installing different tag or branches from git source

2010-10-14 Thread Ralf Gommers
On Thu, Oct 14, 2010 at 9:48 AM, Vincent Davis wrote: > Ok so this is more of a git question but and I think it might be > simple I just don't get it. > Lets say I get a copy of numpy, > $git clone http://github.com/numpy/numpy.git > and now I what install the 1.4.1 release which is a "tag" > or >

[Numpy-discussion] Using issubdtype to check integer types

2010-10-14 Thread Stéfan van der Walt
Hi all, Is this behaviour correct? In [18]: np.issubdtype(np.uint16, np.uint) Out[18]: False Regards Stéfan ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

[Numpy-discussion] Need help for the migration from Numeric to numpy

2010-10-14 Thread Frank Thommen
Hi, I'm trying to help a user to migrate from Numeric to numpy. I found reference to alter_code1.py on http://numpy.scipy.org/old_array_packages.html. First I tried the conversion script: # python2.6 /path/to/alter_code1.py test.py and alternatively # python2.6 /path/to/alter_code1.py ./