In message <[email protected]>, 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