This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author brandjon
Recipients brandjon, jnoller
Date 2012-01-24.18:08:45
SpamBayes Score 0.0001788037
Marked as misclassified No
Message-id <1327428526.26.0.964378708084.issue13854@psf.upfronthosting.co.za>
In-reply-to
Content
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()).
History
Date User Action Args
2012-01-24 18:08:46brandjonsetrecipients: + brandjon, jnoller
2012-01-24 18:08:46brandjonsetmessageid: <1327428526.26.0.964378708084.issue13854@psf.upfronthosting.co.za>
2012-01-24 18:08:45brandjonlinkissue13854 messages
2012-01-24 18:08:45brandjoncreate