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 <7.0.1.0.2.20210207005829.05e3e060@skylit.com>
In-reply-to <1612676973.56.0.718129930968.issue43151@roundup.psfhosted. org>
Content
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 <raymond.hettinger@gmail.com> 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 <report@bugs.python.org>
><https://bugs.python.org/issue43151>
>_______________________________________
History
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