The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Newsgroups: comp.lang.python
From: Grant Edwards <gra...@visi.com>
Date: Thu, 24 May 2007 14:14:37 -0000
Local: Fri, May 25 2007 12:14 am
Subject: Re: 0 == False but [] != False?
On 2007-05-24, Rex Turnbull <rex@no_spam.dicad.de> wrote:
> Steven D'Aprano : That's a joke... I say, that's a joke, son! >> On Thu, 24 May 2007 06:59:32 +0000, Tim Roberts wrote: >>> As a general rule, I've found code like "if x == False" to be a bad idea in >> Surely that should be written as "if (x == False) == True"? > Why compare to False? He was being sarcastic. -- You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||