logo       

Compare strings.array with None.: msg#00024

python.numeric.general

Subject: Compare strings.array with None.

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



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise