[issue1461] 0**0 should raise an error

2007-11-19 Thread Guido van Rossum
Guido van Rossum added the comment: Right. -- nosy: +gvanrossum resolution: -> wont fix status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ __

[issue1461] 0**0 should raise an error

2007-11-19 Thread Jean-Marc Gillet
Jean-Marc Gillet added the comment: See http://en.wikipedia.org/wiki/Exponentiation "Zero to the zero power". There are pros and cons of 0**0==1 so if you mark this one as "wontfix" I promise not to bother you again :-) __ Tracker <[EMAIL PROTECTED]>

[issue1461] 0**0 should raise an error

2007-11-19 Thread Jean-Marc Gillet
New submission from Jean-Marc Gillet: The result is actually undefined, as x**0 gives 1 and 0**x gives 0. Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> 1**0 1 >>> 0**1 0 >>> 0**0 1

[issue1461] 0**0 should raise an error

2007-11-19 Thread Jean-Marc Gillet
Changes by Jean-Marc Gillet: -- nosy: jmgillet severity: minor status: open title: 0**0 should raise an error type: behavior __ Tracker <[EMAIL PROTECTED]> __ _