[Numpy-discussion] strange behavior of += with object array

2013-10-31 Thread Neal Becker
import numpy as np #from accumulator import stat2nd_double ## Just to make this really clear, I'm making a dummy ## class here that overloads += class stat2nd_double (object): def __iadd__ (self, x):

Re: [Numpy-discussion] ANN: NumPy 1.8.0 release.

2013-10-31 Thread Dinesh Vadhia
Use site.cfg.example as template to create a new site.cfg. For openblas, uncomment: [openblas] library_dirs = /opt/OpenBLAS/lib include_dirs = /opt/OpenBLAS/include Also, uncomment default section: [DEFAULT] library_dirs = /usr/local/lib include_dirs = /usr/local/include That should do it - h

Re: [Numpy-discussion] ANN: NumPy 1.8.0 release.

2013-10-31 Thread Dinesh Vadhia
Use site.cfg.example as template to create a new site.cfg. For openblas, uncomment: [openblas] library_dirs = /opt/OpenBLAS/lib include_dirs = /opt/OpenBLAS/include Also, uncomment default section: [DEFAULT] library_dirs = /usr/local/lib include_dirs = /usr/local/include That should do it - h

Re: [Numpy-discussion] char with native integer signedness

2013-10-31 Thread Robert Kern
On Thu, Oct 31, 2013 at 4:19 PM, Geoffrey Irving wrote: > > On Thu, Oct 31, 2013 at 2:08 AM, Robert Kern wrote: > > On Thu, Oct 31, 2013 at 12:52 AM, Geoffrey Irving wrote: > >> > >> Is there a standard way in numpy of getting a char with C-native > >> integer signedness? I.e., > >> > >> bo

Re: [Numpy-discussion] char with native integer signedness

2013-10-31 Thread Geoffrey Irving
On Thu, Oct 31, 2013 at 2:08 AM, Robert Kern wrote: > On Thu, Oct 31, 2013 at 12:52 AM, Geoffrey Irving wrote: >> >> Is there a standard way in numpy of getting a char with C-native >> integer signedness? I.e., >> >> boost::is_signed::value ? numpy.byte : numpy.ubyte >> >> but without nonsen

Re: [Numpy-discussion] memmory management question

2013-10-31 Thread Chris Barker
On Mon, Oct 28, 2013 at 6:25 AM, Pierre Haessig wrote: > > a.base > > In this document, it is mentionned several time that slicing yields > "views of the original data", but the .base attribute is not mentionned. > Should it be or is it out-of-scope of the Indexing guide ? > Indeed, that is no

Re: [Numpy-discussion] ANN: NumPy 1.8.0 release.

2013-10-31 Thread Charles R Harris
On Thu, Oct 31, 2013 at 7:13 AM, Neal Becker wrote: > Charles R Harris wrote: > > > On Thu, Oct 31, 2013 at 6:58 AM, Neal Becker > wrote: > > > >> Thanks for the release! > >> > >> I am having a hard time finding the build instructions. Could you > please > >> add > >> this to the announcement?

Re: [Numpy-discussion] ANN: NumPy 1.8.0 release.

2013-10-31 Thread Neal Becker
Charles R Harris wrote: > On Thu, Oct 31, 2013 at 6:58 AM, Neal Becker wrote: > >> Thanks for the release! >> >> I am having a hard time finding the build instructions. Could you please >> add >> this to the announcement? >> > > What sort of build instructions are you looking for? > > Chuck

Re: [Numpy-discussion] ANN: NumPy 1.8.0 release.

2013-10-31 Thread Charles R Harris
On Thu, Oct 31, 2013 at 6:58 AM, Neal Becker wrote: > Thanks for the release! > > I am having a hard time finding the build instructions. Could you please > add > this to the announcement? > What sort of build instructions are you looking for? Chuck

Re: [Numpy-discussion] ANN: NumPy 1.8.0 release.

2013-10-31 Thread Neal Becker
Thanks for the release! I am having a hard time finding the build instructions. Could you please add this to the announcement? ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] char with native integer signedness

2013-10-31 Thread Robert Kern
On Thu, Oct 31, 2013 at 12:52 AM, Geoffrey Irving wrote: > > Is there a standard way in numpy of getting a char with C-native > integer signedness? I.e., > > boost::is_signed::value ? numpy.byte : numpy.ubyte > > but without nonsensical mixing of languages? This is for interop with a C/C++ e