[Python-bugs-list] [ python-Bugs-456756 ] Unary minus vs **
noreply@sourceforge.net
noreply@sourceforge.net
Thu, 30 Aug 2001 11:53:47 -0700
Bugs item #456756, was opened at 2001-08-29 21:47
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=456756&group_id=5470
Category: Parser/Compiler
Group: Python 2.2
>Status: Closed
>Resolution: Fixed
Priority: 7
Submitted By: Tim Peters (tim_one)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: Unary minus vs **
Initial Comment:
Fred, I think you already understand what's going
wrong here. If not, assign it back to me and I'll
figure it out.
>>> -2**1
-2
>>> -2**2
-2
>>> -2**9832793287932874932
-2
>>> -2**(x+y+z)
-2
>>>
----------------------------------------------------------------------
>Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2001-08-30 11:53
Message:
Logged In: YES
user_id=3066
Fixed in Python/compile.c revision 2.221.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=456756&group_id=5470