Gary Litvin <[email protected]> added the comment:
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 <[email protected]> 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 <[email protected]> ><https://bugs.python.org/issue43151> >_______________________________________ ---------- _______________________________________ Python tracker <[email protected]> <https://bugs.python.org/issue43151> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
