On Mon, Jun 1, 2009 at 11:08 PM, David Cournapeau < [email protected]> 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 related to the python issue 2263 > (http://bugs.python.org/issue2263), where the tp_flags has been changed > for the python int object, change which influences PyInt_Check behavior. > It would be nice if the python folks would document Py_TPFLAGS_INT_SUBCLASS so we knew what it did. I also wonder if the problem with struct and the related bug with timeseries aren't python bugs. Shouldn't python be checking for conversion calls rather than an integer subclass? Chuck
_______________________________________________ Numpy-discussion mailing list [email protected] http://mail.scipy.org/mailman/listinfo/numpy-discussion
