None :)
Michael Hudson
mwh21 at cam.ac.uk
Wed Apr 25 09:27:00 EDT 2001
Hans Kristian Ruud <hans at inenco.no> writes:
> When an element in a sequence s is None,
> max (s) will return None:
All numeric types compare lower than all other types. So
max([0,1L,2.0,""]) is "", for instance.
http://python.sourceforge.net/devel-docs/ref/comparisons.html
has the juice, including the statement that this behaviour is "likely
to change" in the future.
Cheers,
M.
--
This is the fixed point problem again; since all some implementors
do is implement the compiler and libraries for compiler writing, the
language becomes good at writing compilers and not much else!
-- Brian Rogoff, comp.lang.functional
More information about the Python-list
mailing list