[SciPy-dev] openopt example mmp_1.py

Alan G Isaac aisaac at american.edu
Sun Feb 3 10:18:35 EST 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