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.

作者 gdb
收信人 asksol, gdb, jnoller
日期 2010-07-15.19:21:15
SpamBayes Score 0.003925541
Marked as misclassified
Message-id <1279221678.21.0.944098021426.issue9205@psf.upfronthosting.co.za>
In-reply-to
内容
Actually, the program you demonstrate is nonequivalent to the one I posted.  The one I posted pickles just fine because 'bar' is a global name, but doesn't unpickle because it doesn't exist in the parent's namespace.  (See http://docs.python.org/library/pickle.html#what-can-be-pickled-and-unpickled.)  Although, if you're able to run my test program verbatim, then it's entirely possible I'm just missing something.

Anyway, I do think that adding a 'worker_missing_callback' could work.  You'd still have to make sure the ApplyResult (or MapResult) can crash the pool if it deems necessary though.
历史
日期 用户 动作 参数
2010-07-15 19:21:18gdb修改recipients: + gdb, jnoller, asksol
2010-07-15 19:21:18gdb修改messageid: <1279221678.21.0.944098021426.issue9205@psf.upfronthosting.co.za>
2010-07-15 19:21:16gdb链接issue9205 messages
2010-07-15 19:21:15gdb创建