
Oct. 6, 2010
10:52 p.m.
On Wed, Oct 6, 2010 at 3:10 PM, Alan G Isaac <alan.isaac@gmail.com> wrote:
Integer exponentiation fails (i.e., changes type) with boolean dtype. See below. Expected?
Power isn't defined for booleans, I mean, who exponentiates booleans ;) What would you want in it's place? For consistancy, a**0 == all_true, a**i == a, i > 0? Chuck