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 dgrunwald
Recipients dgrunwald, paul.moore, steve.dower, tim.golden, zach.ware
Date 2021-01-19.18:27:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1611080827.94.0.503905739481.issue42968@roundup.psfhosted.org>
In-reply-to
Content
Fix idea: get_spawning_popen().pid could be used to directly copy the handle into the child process, thus avoiding the temporary copy in the main process.
This would help at least in our case (where we pass all connections during startup).

I don't know if the general case is solvable -- in general we don't know which process will unpickle the data, and "child process is killed" isn't the only possible reason why the call to rebuild_pipe_connection() might not happen (e.g. exception while unpickling an earlier part of the same message).
History
Date User Action Args
2021-01-19 18:27:07dgrunwaldsetrecipients: + dgrunwald, paul.moore, tim.golden, zach.ware, steve.dower
2021-01-19 18:27:07dgrunwaldsetmessageid: <1611080827.94.0.503905739481.issue42968@roundup.psfhosted.org>
2021-01-19 18:27:07dgrunwaldlinkissue42968 messages
2021-01-19 18:27:07dgrunwaldcreate