In message <pan.2009.04.15.09.14...@remove.this.cybersource.com.au>, Steven 
D'Aprano wrote:

> BTW, testing for None with == is not recommended, because one day
> somebody might pass your function some strange object that compares equal
> to None.

Presumably if it compares equal to None, that is by design, precisely so it 
would work in this way.

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

Reply via email to