From: Geza G. <gr...@nu...> - 2002-06-12 06:29:34
|
Using Numeric-21.0.win32-py2.2 I found this: Python 2.2.1 (#34, Apr 9 2002, 19:34:33) [MSC 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> from Numeric import * >>> a =3D array((1, 1), 'b') >>> b =3D array((1, 0), 'b') >>> a and b array([1, 0],'b') >>> b and a array([1, 1],'b') >>> It looks like a bug, or at least very weird. a&b and b&a work correctly. -- G=E9za Groma Institute of Biophysics, Biological Research Center of Hungarian Academy of Sciences Temesv=E1ri krt.62. 6726 Szeged Hungary phone: +36 62 432 232 fax: +36 62 433 133 |