New submission from Digin Antony <diginantony...@gmail.com>:
The 'is' operator behave differently on two sets of values please find the attachment below tested environment windows 7 python 3.7.3 Python 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license()" for more information. >>> a=256 >>> b=256 >>> a is b True >>> a=257 >>> b=257 >>> a is b False ---------- components: Interpreter Core files: bug.png messages: 350952 nosy: Digin Antony priority: normal severity: normal status: open title: Unexpected behaviour of 'is' operator type: behavior versions: Python 3.7 Added file: https://bugs.python.org/file48578/bug.png _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38001> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com