[Python-ideas] Make "is" checks on non-singleton literals errors

Serhiy Storchaka storchaka at gmail.com
Tue Oct 9 11:58:54 CEST 2012

On 09.10.12 02:05, Mike Graham wrote:
> I can't find this in a couple versions of Python I checked. If this
> code is still around, it sounds like it has a bug and should be fixed.

It's "if node.tagname is 'admonition':" line.

> test_winsound.py has an `is 0` check and an `is ""` check. Both should be fixed.


More information about the Python-ideas mailing list