[SciPy-dev] openopt example mmp_1.py

Alan G Isaac aisaac@american....
Sun Feb 3 09:18:35 CST 2008


On Sun, 03 Feb 2008, dmitrey apparently wrote:
> Dave has already attached the debug info: 
> ipdb> type(ind)
> <type 'numpy.int32'> 
> ipdb> type(ind) not in (list, tuple)
> True 
> ipdb> type(ind) in [int, int32, int64] 
> False 
> ipdb> int32 
> <type 'numpy.int32'> 


Odd.
What about
id(type(ind))
id(int32)
?

Cheers,
Alan Isaac





More information about the Scipy-dev mailing list