Gary Litvin <lit...@skylit.com> added the comment:
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 <sweeney.dennis...@gmail.com> 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: https://bugs.python.org/file49796/idle_stderr.jpg > >_______________________________________ >Python tracker <rep...@bugs.python.org> ><https://bugs.python.org/issue43151> >_______________________________________ ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue43151> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com