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



In message <slrnialg8v.28c5.usenet-nospam@xxxxxxxxxxxxxxx>, Seebs wrote:

On 2010-10-05, Lawrence D'Oliveiro <ldo@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
wrote:

In message <87iq1hz6rc.fsf@xxxxxxxxxxxxxxx>, 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.

:)
.



Relevant Pages