[Numpy-discussion] Buildbot errors and failures

2010-09-14 Thread Charles R Harris
Just thought I'd throw these out there, they've been showing for a while. Windows XP: === ERROR: test_fromfile_tofile_seeks (test_regression.TestRegression) -- Traceback (most recent call last): File "C:\buildbot\nump

[Numpy-discussion] sf.net export controls for numpy/scipy

2010-09-14 Thread Jarrod Millman
Hello, I plan to update the export controls settings for both numpy and scipy to: "This project does NOT incorporate, access, call upon, or otherwise use encryption of any kind, including, but not limited to, open source algorithms and/or calls to encryption in the operating system or underlying

Re: [Numpy-discussion] [OT: MATLAB] Any way to globally make Matlab struct attributes Python-property-like

2010-09-14 Thread Ken Watford
On Mon, Sep 13, 2010 at 10:24 PM, David Goldsmith wrote: > I.e., I'd, at minimum, like to globally replace > > get(Handel, 'Property') > > with > > object.Property > > and > > set(Handel, 'Property', value) > > with > > object.Property = value > > to an arbitrary level of composition. Both struct

Re: [Numpy-discussion] Can we freeze the subversion repository and move to github this week?

2010-09-14 Thread Fernando Perez
On Tue, Sep 14, 2010 at 4:05 PM, Travis Oliphant wrote: >> Here we go: >> >>       http://github.com/numpy/numpy >> >>       http://github.com/numpy/vendor > > > Thanks!   This is really great work.   So much thanks is due to Pauli and > David for making this happen.     I will get Aaron River to

Re: [Numpy-discussion] test for long double support

2010-09-14 Thread Lisandro Dalcin
On 14 September 2010 12:47, Neal Becker wrote: > Neal Becker wrote: > >> What is the recommended way to test for long double and clongdouble? >> >> Is it: >> #if NPY_SIZEOF_LONGDOUBLE == NPY_SIZEOF_DOUBLE > > I guess I found it? > > #if HAVE_LONG_DOUBLE            // defined in pyconfig.h > I thi

Re: [Numpy-discussion] Can we freeze the subversion repository and move to github this week?

2010-09-14 Thread Travis Oliphant
On Sep 13, 2010, at 6:20 PM, Pauli Virtanen wrote: > Mon, 13 Sep 2010 21:41:18 +, Pauli Virtanen wrote: > [clip] >> I can upload a "final" repository today/tomorrow. If it seems OK, we can >> freeze SVN trunk a few days after that. >> >> Or we can freeze the trunk sooner than that after the

Re: [Numpy-discussion] Can we freeze the subversion repository and move to github this week?

2010-09-14 Thread Travis Oliphant
On Sep 13, 2010, at 3:46 PM, Charles R Harris wrote: > > > On Mon, Sep 13, 2010 at 2:33 PM, Travis Oliphant > wrote: > > Are we ready to do this yet? > > I know there were some outstanding questions. Are there major concerns > remaining? Or, is it just picking a time to freeze subversi

Re: [Numpy-discussion] how to store variable length string in array and get single char by it's position?

2010-09-14 Thread Bruce Southey
On 09/14/2010 11:33 AM, Keith Goodman wrote: On Tue, Sep 14, 2010 at 9:25 AM, kee chen wrote: Dear All, Suppose I have a list group some kind like DNA sequence: 1 ATGCATGCAATTGGCC 2 ATGCATGCAATTGGCCATCD 3 CATGCAATTGGC .. 10 CATGCAAATTGGC the string length of each

Re: [Numpy-discussion] how to store variable length string in array and get single char by it's position?

2010-09-14 Thread Keith Goodman
On Tue, Sep 14, 2010 at 9:25 AM, kee chen wrote: > Dear All, > > Suppose I have a list group some kind like DNA sequence: > > 1  ATGCATGCAATTGGCC > 2  ATGCATGCAATTGGCCATCD > 3  CATGCAATTGGC > .. > 10 CATGCAAATTGGC > > the string length of each item is not sure and may get c

[Numpy-discussion] how to store variable length string in array and get single char by it's position?

2010-09-14 Thread kee chen
Dear All, Suppose I have a list group some kind like DNA sequence: 1 ATGCATGCAATTGGCC 2 ATGCATGCAATTGGCCATCD 3 CATGCAATTGGC .. 10 CATGCAAATTGGC the string length of each item is not sure and may get change/update later, then how can I store above in a numpy array (in

Re: [Numpy-discussion] test for long double support

2010-09-14 Thread Neal Becker
Neal Becker wrote: > What is the recommended way to test for long double and clongdouble? > > Is it: > #if NPY_SIZEOF_LONGDOUBLE == NPY_SIZEOF_DOUBLE I guess I found it? #if HAVE_LONG_DOUBLE// defined in pyconfig.h ___ NumPy-Discussion m

Re: [Numpy-discussion] Cython distutils

2010-09-14 Thread Lisandro Dalcin
On 14 September 2010 02:19, Robert Bradshaw wrote: > I've pushed an implementation of > http://wiki.cython.org/enhancements/distutils_preprocessing . This > allows one do write, e.g. > >    module_list = cythonize("*.pyx") > What happens if you run 'python setup.py --help', for example? Will that

Re: [Numpy-discussion] Difference in astype() for scalars and arrays?

2010-09-14 Thread Lorenz Hüdepohl
On Monday 13 September 2010 Pauli Virtanen wrote: > Doesn't seem correct -- please file a bug ticket. I did that: http://projects.scipy.org/numpy/ticket/1611 Regards, Lorenz ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mai

[Numpy-discussion] test for long double support

2010-09-14 Thread Neal Becker
What is the recommended way to test for long double and clongdouble? Is it: #if NPY_SIZEOF_LONGDOUBLE == NPY_SIZEOF_DOUBLE ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion