[issue15692] Unexpected exponentiation in lambda function

2012-08-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: -3.2**0 == -(3.2**0) >>> (-3.2)**0 1.0 -- nosy: +storchaka resolution: -> invalid status: open -> closed ___ Python tracker ___

[issue15692] Unexpected exponentiation in lambda function

2012-08-16 Thread Björn Dahlgren
New submission from Björn Dahlgren: Hi, I hope this is not a false positive but I cannot help thinking this is a bug, consider: Python 2.7.3 (default, Aug 1 2012, 05:14:39) [GCC 4.6.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> -3.2**0 -1.0 >>> sign=l