len() should always return something

Hendrik van Rooyen hendrik at microcorp.co.za
Sat Jul 25 12:15:37 EDT 2009


On Saturday 25 July 2009 14:59:43 Steven D'Aprano wrote:
> On Sat, 25 Jul 2009 10:03:58 +0200, Piet van Oostrum wrote:
> >>S> And there's nothing ambiguous about len(42).
> >
> > len(42) should be 7.5 million.
>
> And "I don't understand your reasoning".upper() should be "Millennium
> Hand and Shrimp!".

That does it.
I will be kinder to you in future.
Anybody who quotes foul old Ron cannot be all bad.

- Hendrik




More information about the Python-list mailing list