Message151920
Raising SystemExit manually, or calling sys.exit, with an argument of "True" or "False" results in no output to the screen. According to Doc/library/exceptions.rst and Doc/library/sys.rst, any object that is not an integer or None should be printed to stderr.
Also, I'm not sure whether this is a bug, but "raise SystemExit(None)" differs from "sys.exit(None)", in that the former produces an exception with an args tuple of "(None,)", and the latter produces one with an empty args tuple. |
|
Date |
User |
Action |
Args |
2012-01-24 17:42:32 | brandjon | set | recipients:
+ brandjon |
2012-01-24 17:42:32 | brandjon | set | messageid: <1327426952.31.0.648876756339.issue13853@psf.upfronthosting.co.za> |
2012-01-24 17:42:31 | brandjon | link | issue13853 messages |
2012-01-24 17:42:31 | brandjon | create | |
|