From: Chris B. <Chr...@no...> - 2002-06-12 20:28:19
|
Reggie Dugard wrote: > This is not, in fact, a bug although I've fallen prey to the same > mistake myself. I'm assuming what you really wanted was to use > logical_and: > So the "and" is just returning its second argument, since both arguments > are considered "True" (containing at least 1 "True" element). I imagine there is a compelling reason that "and" and "or" have not been overridden like the comparison operators, but it sure would be nice! -Chris -- Christopher Barker, Ph.D. Oceanographer NOAA/OR&R/HAZMAT (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception Chr...@no... |