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 jwilk
Recipients jwilk, serhiy.storchaka
Date 2019-01-21.15:13:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1548083625.41.0.59098075844.issue35798@roundup.psfhosted.org>
In-reply-to
Content
$ python3.8 -c 'if object() is 42: pass'
<string>:1: SyntaxWarning: "is" with a literal. Did you mean "=="?
<string>:1: SyntaxWarning: "is" with a literal. Did you mean "=="?

I'd like only one copy of this warning, not two.

Tested with git master (e9b185f2a493cc54f0d49eac44bf21e8d7de2990).
History
Date User Action Args
2019-01-21 15:13:49jwilksetrecipients: + jwilk, serhiy.storchaka
2019-01-21 15:13:45jwilksetmessageid: <1548083625.41.0.59098075844.issue35798@roundup.psfhosted.org>
2019-01-21 15:13:45jwilklinkissue35798 messages
2019-01-21 15:13:45jwilkcreate