Can someone please explain to me the difference between the "is"
keyword and the == boolean operator.  I can't figure it out on my own
and I can't find any documentation on it.

I can't understand why this works:

    if text is None:

and why this always returns false:

    if message is 'PING':

even when message = 'PING'.

What's the deal with that?

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to