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 garylitvin
Recipients Dennis Sweeney, garylitvin, rhettinger
Date 2021-02-07.06:02:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
In-reply-to <1612676973.56.0.718129930968.issue43151@roundup.psfhosted. org>
Thank you for your responses. I understand the difference between == 
and "is" and the intentional change in 3.8. My question is about what 
seems to be inconsistent treatment in x is 'a' and if a is 'a': ...

At 12:49 AM 2/7/2021, Raymond Hettinger wrote:

>Raymond Hettinger <> added the comment:
>As Dennis says, this is an intentional behavior and will help you avoid bugs.
>nosy: +rhettinger
>resolution:  -> not a bug
>stage:  -> resolved
>status: open -> closed
>Python tracker <>
Date User Action Args
2021-02-07 06:02:03garylitvinsetrecipients: + garylitvin, rhettinger, Dennis Sweeney
2021-02-07 06:02:03garylitvinlinkissue43151 messages
2021-02-07 06:02:02garylitvincreate