New submission from koala-lava <shgr11...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue46618> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com