Re: [Numpy-discussion] numpy.int32, type inheritance and tp_flags

2009-06-01 Thread Charles R Harris
On Mon, Jun 1, 2009 at 11:58 PM, David Cournapeau < da...@ar.media.kyoto-u.ac.jp> wrote: > Charles R Harris wrote: > > > > > > On Mon, Jun 1, 2009 at 11:08 PM, David Cournapeau > > mailto:da...@ar.media.kyoto-u.ac.jp>> > > wrote: > > > > Hi, > > > >I have a question related to #1121 >

Re: [Numpy-discussion] numpy.int32, type inheritance and tp_flags

2009-06-01 Thread David Cournapeau
Charles R Harris wrote: > > > On Mon, Jun 1, 2009 at 11:08 PM, David Cournapeau > mailto:da...@ar.media.kyoto-u.ac.jp>> > wrote: > > Hi, > >I have a question related to #1121 > (http://projects.scipy.org/numpy/ticket/1121). With python 2.6, > PyInt_Check(a) if a is an instance o

Re: [Numpy-discussion] numpy.int32, type inheritance and tp_flags

2009-06-01 Thread Charles R Harris
On Mon, Jun 1, 2009 at 11:50 PM, David Cournapeau < da...@ar.media.kyoto-u.ac.jp> wrote: > Charles R Harris wrote: > > > > > > On Mon, Jun 1, 2009 at 11:08 PM, David Cournapeau > > mailto:da...@ar.media.kyoto-u.ac.jp>> > > wrote: > > > > Hi, > > > >I have a question related to #1121 >

Re: [Numpy-discussion] numpy.int32, type inheritance and tp_flags

2009-06-01 Thread Charles R Harris
On Mon, Jun 1, 2009 at 11:08 PM, David Cournapeau < da...@ar.media.kyoto-u.ac.jp> wrote: > Hi, > >I have a question related to #1121 > (http://projects.scipy.org/numpy/ticket/1121). With python 2.6, > PyInt_Check(a) if a is an instance of numpy.int32 does not work anymore. > It think this is r

Re: [Numpy-discussion] numpy.int32, type inheritance and tp_flags

2009-06-01 Thread David Cournapeau
Charles R Harris wrote: > > > On Mon, Jun 1, 2009 at 11:08 PM, David Cournapeau > mailto:da...@ar.media.kyoto-u.ac.jp>> > wrote: > > Hi, > >I have a question related to #1121 > (http://projects.scipy.org/numpy/ticket/1121). With python 2.6, > PyInt_Check(a) if a is an instance o

Re: [Numpy-discussion] numpy.int32, type inheritance and tp_flags

2009-06-01 Thread Charles R Harris
On Mon, Jun 1, 2009 at 11:08 PM, David Cournapeau < da...@ar.media.kyoto-u.ac.jp> wrote: > Hi, > >I have a question related to #1121 > (http://projects.scipy.org/numpy/ticket/1121). With python 2.6, > PyInt_Check(a) if a is an instance of numpy.int32 does not work anymore. > It think this is r

[Numpy-discussion] numpy.int32, type inheritance and tp_flags

2009-06-01 Thread David Cournapeau
Hi, I have a question related to #1121 (http://projects.scipy.org/numpy/ticket/1121). With python 2.6, PyInt_Check(a) if a is an instance of numpy.int32 does not work anymore. It think this is related to the python issue 2263 (http://bugs.python.org/issue2263), where the tp_flags has been chan