Re: [Numpy-discussion] numpy.int32 is not subclass of int, but numpy.int64 is

2011-11-15 Thread MACKEITH Andrew
From: numpy-discussion-boun...@scipy.org [mailto:numpy-discussion-boun...@scipy.org] On Behalf Of Olivier Delalleau Sent: Tuesday, November 15, 2011 10:02 AM To: Discussion of Numerical Python Subject: Re: [Numpy-discussion] numpy.int32 is not subclass of int, but numpy.int64 is 2011/11/15

Re: [Numpy-discussion] numpy.int32 is not subclass of int, but numpy.int64 is

2011-11-15 Thread Olivier Delalleau
py.int32 is not subclass of int, but > numpy.int64 is > > > > 2011/11/14 Robert Kern > > On Mon, Nov 14, 2011 at 20:18, MACKEITH Andrew > wrote: > > Could someone explain this? > > > > An instance of numpy.int32 is not an instance of int or numpy.int.

Re: [Numpy-discussion] numpy.int32 is not subclass of int, but numpy.int64 is

2011-11-15 Thread MACKEITH Andrew
From: numpy-discussion-boun...@scipy.org [mailto:numpy-discussion-boun...@scipy.org] On Behalf Of Olivier Delalleau Sent: Tuesday, November 15, 2011 7:03 AM To: Discussion of Numerical Python Subject: Re: [Numpy-discussion] numpy.int32 is not subclass of int, but numpy.int64 is 2011/11/14

Re: [Numpy-discussion] numpy.int32 is not subclass of int, but numpy.int64 is

2011-11-15 Thread Olivier Delalleau
2011/11/14 Robert Kern > On Mon, Nov 14, 2011 at 20:18, MACKEITH Andrew > wrote: > > Could someone explain this? > > > > An instance of numpy.int32 is not an instance of int or numpy.int. > > An instance of numpy.int64 is an instance of int and numpy.int. > > > > I don't know if it is a bug in m

Re: [Numpy-discussion] numpy.int32 is not subclass of int, but numpy.int64 is

2011-11-14 Thread Robert Kern
On Mon, Nov 14, 2011 at 20:18, MACKEITH Andrew wrote: > Could someone explain this? > > An instance of numpy.int32 is not an instance of int or numpy.int. > An instance of numpy.int64 is an instance of int and numpy.int. > > I don't know if it is a bug in my linux build. import sys sys.

[Numpy-discussion] numpy.int32 is not subclass of int, but numpy.int64 is

2011-11-14 Thread MACKEITH Andrew
Could someone explain this? An instance of numpy.int32 is not an instance of int or numpy.int. An instance of numpy.int64 is an instance of int and numpy.int. I don't know if it is a bug in my linux build. Andrew >python26 Python 2.6.2 (r262:71600, Jul 8 2010, 11:49:56) [GCC 4.1.2 20070115 (SU