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

Georg Brandl g.brandl at gmx.net
Tue Oct 9 22:16:49 CEST 2012


Am 09.10.2012 11:58, schrieb Serhiy Storchaka:
> 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.

It's not part of Python anyway, and should be reported to the docutils
maintainers.

Georg




More information about the Python-ideas mailing list