Benjamin Peterson benja...@python.org added the comment:
Fixed in r68628.
--
nosy: +benjamin.peterson
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4946
New submission from Maciek Fijalkowski fi...@genesilico.pl:
this is at least a bad practice. It also might break silently at any point.
--
components: Library (Lib), Tests
files: out.diff
keywords: patch
messages: 79846
nosy: fijal
severity: normal
status: open
title:
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment:
Yes, checking object identity is wrong in this case. Your patch looks
fine to me.
I've found several other is comparisons that should not be there --
working on a patch right now.
--
nosy: +gagenellina