[Tutor] List comprehensions

Max Noel maxnoel_fr at yahoo.fr
Thu Jan 13 13:23:00 CET 2005

On Jan 13, 2005, at 04:13, Bob Gailer wrote:

> I like Kent's response.
> foobar(item)/0 is a "valid" expression. It fits the grammar of 
> expressions. The fact that it raises an exception does not make it an 
> invalid expression.
> Consider foobar(item)/xyz. It is valid. If xyz == 0 then it will also 
> raise an exception.

	You have a point, I hadn't thought of it that way.

-- Max
maxnoel_fr at yahoo dot fr -- ICQ #85274019
"Look at you hacker... A pathetic creature of meat and bone, panting 
and sweating as you run through my corridors... How can you challenge a 
perfect, immortal machine?"

More information about the Tutor mailing list