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 opstad
Recipients opstad
Date 2018-07-24.14:21:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1532442102.57.0.56676864532.issue34208@psf.upfronthosting.co.za>
In-reply-to
Content
In 3.6 I get this:

>>> x = (100 * 20)
>>> x is 2000
False
>>> (100 * 20) is 2000
False

But in 3.7, I get this:

>>> x = (100 * 20)
>>> x is 2000
False
>>> (100 * 20) is 2000
True

This isn't necessarily a problem, but I'm curious why this behavior changed from 3.6 to 3.7.
History
Date User Action Args
2018-07-24 14:21:42opstadsetrecipients: + opstad
2018-07-24 14:21:42opstadsetmessageid: <1532442102.57.0.56676864532.issue34208@psf.upfronthosting.co.za>
2018-07-24 14:21:42opstadlinkissue34208 messages
2018-07-24 14:21:42opstadcreate