[issue19338] multiprocessing: sys.exit() from a child with a non-int exit code exits with 0

2013-11-17 Thread Richard Oudkerk
Richard Oudkerk added the comment: Thanks for the patches. Fixed in 7aabbe919f55, 11cafbe6519f. -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker

[issue19338] multiprocessing: sys.exit() from a child with a non-int exit code exits with 0

2013-10-21 Thread Brodie Rao
Changes by Brodie Rao : -- nosy: +jnoller, sbt ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue19338] multiprocessing: sys.exit() from a child with a non-int exit code exits with 0

2013-10-21 Thread Brodie Rao
Brodie Rao added the comment: Here's the patch for 3.3. -- keywords: +patch Added file: http://bugs.python.org/file32286/multiprocessing-sys-exit-3.3.patch ___ Python tracker ___

[issue19338] multiprocessing: sys.exit() from a child with a non-int exit code exits with 0

2013-10-21 Thread Brodie Rao
Changes by Brodie Rao : Added file: http://bugs.python.org/file32287/multiprocessing-sys-exit-2.7.patch ___ Python tracker ___ ___ Python-bugs

[issue19338] multiprocessing: sys.exit() from a child with a non-int exit code exits with 0

2013-10-21 Thread Brodie Rao
New submission from Brodie Rao: Normally: $ python >>> import sys >>> sys.exit('foo') foo $ echo $? 1 However, with multiprocessing: >>> import sys >>> from multiprocessing import Process >>> p = Process(target=lambda: sys.exit('foo')) >>> p.start() >>> foo >>> p.joi