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 serhiy.storchaka
Recipients barry, gregory.p.smith, gvanrossum, jwilk, miss-islington, nascheme, njs, rhettinger, serhiy.storchaka, steven.daprano, terry.reedy, xiang.zhang
Date 2018-10-04.19:59:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1538683147.84.0.545547206417.issue34850@psf.upfronthosting.co.za>
In-reply-to
Content
> Turn the check on only when PYTHONDEVMODE is set?

This will reduce the value of this warning to zero. If the user doesn't know that using "is" with string or numerical literals is bad and doesn't use checkers, it is unlikely that he uses PYTHONDEVMODE.
History
Date User Action Args
2018-10-04 19:59:07serhiy.storchakasetrecipients: + serhiy.storchaka, gvanrossum, barry, nascheme, rhettinger, terry.reedy, gregory.p.smith, jwilk, steven.daprano, njs, xiang.zhang, miss-islington
2018-10-04 19:59:07serhiy.storchakasetmessageid: <1538683147.84.0.545547206417.issue34850@psf.upfronthosting.co.za>
2018-10-04 19:59:07serhiy.storchakalinkissue34850 messages
2018-10-04 19:59:07serhiy.storchakacreate