I don't get why sys.exit(1) doesn't exit the while loop in the follow case

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Tue Oct 5 07:48:20 CEST 2010


In message <87iq1hz6rc.fsf at benfinney.id.au>, Ben Finney wrote:

> Don't ever use a bare ‘except’ unless you know exactly why you're doing
> so.

In other news, don’t ever put a loaded gun in your mouth and pull the 
trigger unless you know exactly why you’re doing so.

Some people have a problem. They say, “I know, I’ll use an exception”. Now 
they have Some people have a problem. They say, “I know, I’ll use an 
exception”. Now they have ...



More information about the Python-list mailing list