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.

作者 asksol
收信人 asksol, gdb, jnoller
日期 2010-07-14.14:05:01
SpamBayes Score 3.1666943e-06
Marked as misclassified
Message-id <1279116304.24.0.939985197727.issue9205@psf.upfronthosting.co.za>
In-reply-to
内容
Jesse wrote,


> We can work around the shutdown issue (really, bug 9207) by
> ignoring the exception such as shutdown.patch does, or passing in
> references/adding references to the functions those methods need. Or (as Brett suggested) converting them to class methods and adding references to the class. Or passing them in via the signature like this _handle_workers(arg, _debug=debug), etc.


Greg wrote,

> Another option would be to enable only for the worker handler.  I
> don't have a particularly great sense of what the Right Thing to
> do here is.

I don't think _make_shutdown_safe should be added to the result handler.
If the error can indeed happen there, then we need to solve it in a way that enables it to finish the work.

Jesse, how hard is it to fix the worker handler by passing the references? Note that _worker_handler is not important to complete shutdown at this point, but it may be in the future (it seems termination.patch already changes this)
历史
日期 用户 动作 参数
2010-07-14 14:05:04asksol修改recipients: + asksol, jnoller, gdb
2010-07-14 14:05:04asksol修改messageid: <1279116304.24.0.939985197727.issue9205@psf.upfronthosting.co.za>
2010-07-14 14:05:02asksol链接issue9205 messages
2010-07-14 14:05:02asksol创建