<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="+1">hello,<br>
<br>
I've lot of functions that returns their result in some kind of
tuple / list / array,<br>
and if there is no result, these functions return None.<br>
Now I'm often what to do something if I've more than 1 element in
the result.<br>
So I test:<br>
<br>
if len ( Result ) > 1 :<br>
<br>
But to prevent exceptions, i've to write ( I often forget)<br>
if Result and ( len ( Result ) > 1 ) :<br>
<br>
So I wonder why len is not allowed on None<br>
and if there are objections to extend the len function .<br>
<br>
thanks,<br>
Stef Mientki<br>
</font>
</body>
</html>