Paul Rubin wrote: > Steve Holden <[EMAIL PROTECTED]> writes: >> The really interesting question your post raises, though, is "Why do >> you feel it's necessary to test to see whether a variable is a >> Boolean?". > > What's the point of having Booleans, if you can't tell them from integers?
Because return True is clearer than return 1 if the purpose of the return value is to indicate a Boolean rather than an arbitrary integer. -- Erik Max Francis && [EMAIL PROTECTED] && http://www.alcyone.com/max/ San Jose, CA, USA && 37 20 N 121 53 W && AIM erikmaxfrancis The basis of optimism is sheer terror. -- Oscar Wilde -- http://mail.python.org/mailman/listinfo/python-list