Changes by Jean-Marc Gillet:
--
nosy: jmgillet
severity: minor
status: open
title: 0**0 should raise an error
type: behavior
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/
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 infor
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 <[