Message151921
In a child process, raising SystemExit or calling sys.exit with a non-integer, non-string argument value causes a TypeError at Lib/multiprocessing/process.py :: _bootstrap. This is from concatenating the argument with '\n' and writing it to stderr.
Suggested fix: replace
sys.stderr.write(e.args[0] + '\n')
with
sys.stderr.write(str(e.args[0]) + '\n')
This problem also occurs when the value is None, but only for raising SystemExit (not calling sys.exit()). |
|
Date |
User |
Action |
Args |
2012-01-24 18:08:46 | brandjon | set | recipients:
+ brandjon, jnoller |
2012-01-24 18:08:46 | brandjon | set | messageid: <1327428526.26.0.964378708084.issue13854@psf.upfronthosting.co.za> |
2012-01-24 18:08:45 | brandjon | link | issue13854 messages |
2012-01-24 18:08:45 | brandjon | create | |
|