Tag Archives: long

Pitfalls of Python’s ‘is’ operator

I saw this post on Friendfeed, and thought I’d reproduce the code here, because it’s a really interesting Python snippet, and to me, basically says never, ever use the ‘is’ operator.  Here’s the snippet that I just reproduced on Python … Continue reading

Posted in General | Tagged , , , , | 6 Comments