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

Seebs usenet-nospam at seebs.net
Tue Oct 5 08:07:13 CEST 2010

On 2010-10-05, Lawrence D'Oliveiro <ldo at geek-central.gen.new_zealand> wrote:
> 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.

I don't think those are at all comparable, I've heard of people who had
plausible arguments for the gun.

Copyright 2010, all wrongs reversed.  Peter Seebach / usenet-nospam at seebs.net
http://www.seebs.net/log/ <-- lawsuits, religion, and funny pictures
http://en.wikipedia.org/wiki/Fair_Game_(Scientology) <-- get educated!
I am not speaking for my employer, although they do rent some of my opinions.

More information about the Python-list mailing list