Skip to content
This repository has been archived by the owner on Sep 25, 2020. It is now read-only.

Avoid the use of sys.exit(...) [moved] #5

Open
trentm opened this issue Sep 28, 2012 · 0 comments
Open

Avoid the use of sys.exit(...) [moved] #5

trentm opened this issue Sep 28, 2012 · 0 comments

Comments

@trentm
Copy link
Owner

trentm commented Sep 28, 2012

This is Issue 5 moved from a Google Code project.
Added by 2009-04-15T23:04:56.000Z by [email protected].
Please review that bug for more context and additional comments, but update this bug.

Original labels: Type-Enhancement, Priority-Low, OpSys-All, Component-Docs

Original description

Documentation points to using sys.exit(...) -- which must be avoided for
sys.exit has a side-effect of *printing* non-int objects to console. 

One way to return process exit code is to use 'raise SystemExit'
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant