[Numpy-discussion] Compare strings.array with None.

Shin sdhyok at email.unc.edu
Mon Sep 6 20:13:01 CDT 2004


I got the following strange behavior in numarray.strings.
Is it intended or a bug? Thanks.

>>> from numarray import *
>>> x = [1,2]
>>> x == None
0
>>> from numarray import strings
>>> x = strings.array(['a','b'])
>>> x == None
TypeError
(And exit from mainloop.)

-- 
Daehyok Shin





More information about the Numpy-discussion mailing list