Python 3.0 - is this true?

Marc 'BlackJack' Rintsch bj_666 at gmx.net
Mon Nov 10 18:33:40 CET 2008


On Mon, 10 Nov 2008 16:32:47 +0000, Robin Becker wrote:

> on the other hand I find it odd that
> 
> cmp(None,None) fails in Python 3 when None==None returns True.

That's because there is no order defined for `NoneType` but equality is.

Ciao,
	Marc 'BlackJack' Rintsch



More information about the Python-list mailing list