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 vstinner
Recipients asksol, flox, jnoller, macfreek, vstinner
Date 2011-04-05.12:14:00
SpamBayes Score 0.0015050827
Marked as misclassified No
Message-id <1302005640.64.0.00697994651415.issue9592@psf.upfronthosting.co.za>
In-reply-to
Content
> 1) A multiprocessing worker can not return (return, not raise!) an
> Exception. (...) raise an error if multiple arguments are required:
> TypeError: ('__init__() takes exactly 2 arguments (1 given)', 
> <class '__main__.MyException'>, ())

This problem comes from pickle, not multiprocessing: issue #1692335.

> 2) A multiprocessing worker can not return an hashlib Object.
> If this is attempted, pickle returns an error:

It is related to pickle and hashlib: #11771
History
Date User Action Args
2011-04-05 12:14:00vstinnersetrecipients: + vstinner, macfreek, jnoller, asksol, flox
2011-04-05 12:14:00vstinnersetmessageid: <1302005640.64.0.00697994651415.issue9592@psf.upfronthosting.co.za>
2011-04-05 12:14:00vstinnerlinkissue9592 messages
2011-04-05 12:14:00vstinnercreate