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, steven.daprano
Date 2021-02-07.14:41:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
In-reply-to <1612687274.55.0.308622814211.issue43151@roundup.psfhosted. org>
I noticed it in IDLE 3.8. I installed 3.8 because it is a fairly 
recent release described as "stable." Thanks to everyone for considering this.

At 03:41 AM 2/7/2021, you wrote:

>Dennis Sweeney <> added the comment:
>I think the strangeness is happening because sometimes, the warning 
>is printed to stderr, while other times, IDLE's parser notices the 
>"is <literal>" anti-pattern and raises a SyntaxError.
>See the attached screenshot for the IDLE output versus the console 
>output for a recent 3.10 build.
>Added file:
>Python tracker <>
Date User Action Args
2021-02-07 14:41:48garylitvinsetrecipients: + garylitvin, rhettinger, steven.daprano, Dennis Sweeney
2021-02-07 14:41:48garylitvinlinkissue43151 messages
2021-02-07 14:41:47garylitvincreate