[issue34850] Emit a syntax warning for "is" with a literal
Steven D'Aprano
report at bugs.python.org
Mon Oct 1 09:33:57 EDT 2018
Steven D'Aprano <steve+python at pearwood.info> added the comment:
On Sun, Sep 30, 2018 at 10:24:41PM +0000, Nathaniel Smith wrote:
> Would it make sense to implement a "chaos" mode (that e.g. testing
> tools could enable unconditionally), that disables the small integer
> and small string caches?
I'm not really sure that "chaos" is a good name for that. Contrast
the rather restricted scope ("disable caches") with this example of
chaos:
https://en.wikipedia.org/wiki/Chaos_Monkey
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34850>
_______________________________________
More information about the Python-bugs-list
mailing list