This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Digin Antony
Recipients Digin Antony
Date 2019-09-01.14:25:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1567347917.93.0.344087123361.issue38001@roundup.psfhosted.org>
In-reply-to
Content
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
History
Date User Action Args
2019-09-01 14:25:17Digin Antonysetrecipients: + Digin Antony
2019-09-01 14:25:17Digin Antonysetmessageid: <1567347917.93.0.344087123361.issue38001@roundup.psfhosted.org>
2019-09-01 14:25:17Digin Antonylinkissue38001 messages
2019-09-01 14:25:17Digin Antonycreate