[Numpy-discussion] ANN: SciPy Conference Early Registration Reminder

2007-07-06 Thread Travis Vaught
Greetings, The *SciPy 2007 Conference on Scientific Computing with Python* early registration deadline is July 15, 2007. After this date, the price for registration will increase from $150 to $200. More information on the Conference is here: http://www.scipy.org/ SciPy2007 The registration

Re: [Numpy-discussion] how do I configure with gfortran

2007-07-06 Thread Mathew
nope. try again % python setup.py -v config_fc --fcompiler=gfortran install Running from numpy source directory. non-existing path in 'numpy/distutils': 'site.cfg' F2PY Version 2_3882 blas_opt_info: blas_mkl_info: ( library_dirs = /u/vento0/myeates/lib:/usr/lib ) ( include_dirs =

Re: [Numpy-discussion] segfault caused by incorrect Py_DECREF in ufunc

2007-07-06 Thread Travis Oliphant
Tom Denniston wrote: Below is the code around line 900 for ufuncobject.c (http://svn.scipy.org/svn/numpy/trunk/numpy/core/src/ufuncobject.c) There is a decref labeled with below that is incorrect. As per the python documentation (http://docs.python.org/api/dictObjects.html): #PyObject*

Re: [Numpy-discussion] [SciPy-dev] PEP 368: Standard image protocol and class

2007-07-06 Thread Lino Mastrodomenico
2007/7/4, Bill Baxter [EMAIL PROTECTED]: I think a PEP that aims to be a generic image protocol should support at least 32 bit floats if not 64-bit doubles and 16 bit Halfs used by some GPUs (and supported by the OpenEXR format). Yes, the next version of the PEP will include float16 and

Re: [Numpy-discussion] Should bool_ subclass int?

2007-07-06 Thread Robert Kern
Timothy Hochberg wrote: I'm working on getting some old code working with numpy and I noticed that bool_ is not a subclass of int. Given that python's bool subclasses into and that the other scalar types are subclasses of their respective counterparts it seems at first glance that

Re: [Numpy-discussion] convert csv file into recarray without pre-specifying dtypes and variable names

2007-07-06 Thread John Hunter
On 7/6/07, Vincent Nijs [EMAIL PROTECTED] wrote: I wrote the attached (small) program to read in a text/csv file with different data types and convert it into a recarray without having to pre-specify the dtypes or variables names. I am just too lazy to type-in stuff like that :) The supported

Re: [Numpy-discussion] Should bool_ subclass int?

2007-07-06 Thread Travis Oliphant
Timothy Hochberg wrote: I'm working on getting some old code working with numpy and I noticed that bool_ is not a subclass of int. Given that python's bool subclasses into and that the other scalar types are subclasses of their respective counterparts it seems at first glance that