[Python-3000] Comparing to None

Raymond Hettinger python at rcn.com
Sat Feb 2 00:56:38 CET 2008


It was very convenient in Py2.x to have None comparable to other types and always rank less than any other type.

I would like to restore that ability.

One example, it helps with heaps to be able to turn an entry into None and have it sift to the top where the null entries can be popped-off.


Raymond


More information about the Python-3000 mailing list