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

2013-11-01 Thread Charles R Harris
On Thu, Oct 31, 2013 at 10:19 AM, 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., > >> > >>

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

2013-11-01 Thread Robert Kern
On Fri, Nov 1, 2013 at 10:34 AM, Neal Becker wrote: > > Robert Kern wrote: > > > On Thu, Oct 31, 2013 at 11:22 PM, Neal Becker wrote: > >> > >> import numpy as np > >> #from accumulator import stat2nd_double > >> > >> ## Just to make this really clear, I'm making a dummy > >> ## class here that o

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

2013-11-01 Thread Neal Becker
Robert Kern wrote: > On Thu, Oct 31, 2013 at 11:22 PM, Neal Becker wrote: >> >> 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,

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

2013-11-01 Thread Neal Becker
Robert Kern wrote: > On Thu, Oct 31, 2013 at 11:22 PM, Neal Becker wrote: >> >> 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,

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

2013-11-01 Thread Robert Kern
On Thu, Oct 31, 2013 at 11:22 PM, Neal Becker wrote: > > 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): > return self > >