[New-bugs-announce] [issue46618] Exponent operator(**) interpreter issue
koala-lava
report at bugs.python.org
Wed Feb 2 17:33:12 EST 2022
New submission from koala-lava <shgr11111 at yandex.ru>:
If I put -2 ** 2 in the interpreter it outputs -4. Expected is 4.
If I create a variable and initialize it with -2 and then try the same then it's correct.
----------
components: Interpreter Core
messages: 412402
nosy: koala-lava
priority: normal
severity: normal
status: open
title: Exponent operator(**) interpreter issue
type: behavior
versions: Python 3.10
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46618>
_______________________________________
More information about the New-bugs-announce
mailing list