[New-bugs-announce] [issue34867] Add mode to disable small integer and interned string caches
Steven D'Aprano
report at bugs.python.org
Mon Oct 1 20:40:12 EDT 2018
New submission from Steven D'Aprano <steve+python at pearwood.info>:
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).
----------
components: Interpreter Core
messages: 326838
nosy: gregory.p.smith, njs, steven.daprano
priority: normal
severity: normal
status: open
title: Add mode to disable small integer and interned string caches
versions: Python 3.8
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34867>
_______________________________________
More information about the New-bugs-announce
mailing list