cmdln icon indicating copy to clipboard operation
cmdln copied to clipboard

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

Open trentm opened this issue 12 years ago • 0 comments

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'

trentm avatar Sep 28 '12 04:09 trentm