|
From: Travis O. <oli...@ie...> - 2006-01-17 21:45:39
|
Sasha wrote: >>>>bool_(0) is bool_(0) >>>> >>>> >False > > >>>>bool(0) is bool(0) >>>> >>>> >True > >Is there any reason not to intern numpy's bool_'s? > > No, it just hasn't been done. It would be a good idea... but require some code in PyArray_Scalar and in the bool_new method.. -Travis |