Bug report
Bug description:
print(3^2)
print(2**3 - 2)
print(3^2 + 2**3 - 2) # expected 7
assert 3^2 + 2**3 - 2 == (3^2) + (2**3 - 2) # expected OK
1
6
11
Traceback (most recent call last):
File "main.py", line 4, in <module>
assert 3^2 + 2**3 - 2 == (3^2) + (2**3 - 2)
AssertionError
CPython versions tested on:
3.13
Operating systems tested on:
Windows