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 steven.daprano
Recipients gregory.p.smith, njs, steven.daprano
Date 2018-10-02.00:40:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1538440812.47.0.545547206417.issue34867@psf.upfronthosting.co.za>
In-reply-to
Content
Split off from #34850 by Guido's request.

To help catch incorrect use of `is` when `==` is intended, perhaps we should add an interpreter mode that disables the caches for small ints and interned strings.

Nathaniel called it "chaos mode" but I don't like the name as there is nothing chaotic about the lack of such caches, and it doesn't come close to chaos testing (e.g. Netflix's Chaos Monkey tool).
History
Date User Action Args
2018-10-02 00:40:12steven.dapranosetrecipients: + steven.daprano, gregory.p.smith, njs
2018-10-02 00:40:12steven.dapranosetmessageid: <1538440812.47.0.545547206417.issue34867@psf.upfronthosting.co.za>
2018-10-02 00:40:12steven.dapranolinkissue34867 messages
2018-10-02 00:40:11steven.dapranocreate