'Using is not None, may not always work'

Doug Fort dougfort at dougfort.com
Fri Aug 6 09:15:27 EDT 2004


Hi,

Since I installed 2.4a2 I've been getting a warning from pychecker: Using
is not None, may not always work'. I thought 'is not None' was the right
thing to do. I've had problems with 'if not x:', because some objects
return False in this context.

-- 
Doug Fort, Consulting Programmer
http://www.dougfort.com




More information about the Python-list mailing list