[New-bugs-announce] [issue45230] Something wrong when Calculate "3==3 is not True"

Wang Bingchao report at bugs.python.org
Fri Sep 17 03:45:12 EDT 2021


New submission from Wang Bingchao <819576257 at qq.com>:

I use python3.7 python3.6 python2.7, and run the following code: 
print(3==3 is not True)
print(3==3 is True)
print(3==2 is not True)
print(3==2 is True)
I got the same results as follow: 
True
False
False
False
but I don't think it is a reasonable result, it may be bugs?

----------
components: Subinterpreters
messages: 402010
nosy: ET
priority: normal
severity: normal
status: open
title: Something wrong when Calculate "3==3 is not True"
type: behavior
versions: Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45230>
_______________________________________


More information about the New-bugs-announce mailing list