New submission from ethn: The identity comparison fails in floats in Python3.
>>> -7.3 is -7.3 False While in Python2 >>> -7.3 is -7.3 True ---------- components: Interpreter Core messages: 298363 nosy: ethn priority: normal severity: normal status: open title: Identity comparison ("is") fails for floats in Python3 but works in Python2 type: behavior versions: Python 3.3, Python 3.4, Python 3.5, Python 3.6, Python 3.7 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30932> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com