Execute in a multiprocessing child dynamic code loaded by the parent process
Greg Ewing
greg.ewing at canterbury.ac.nz
Sun Mar 6 17:32:27 EST 2022
On 7/03/22 9:36 am, Martin Di Paola wrote:
> It *would* be my fault if multiprocessing.Process fails only because I'm
> loading the code dynamically.
I'm not so sure about that. The author of the plugin knows they're
writing code that will be dynamically loaded, and can therefore
expect the kind of problem they're having. It could be argued that
it's their responsibility to ensure that all the needed code is loaded
into the subprocess.
--
Greg
More information about the Python-list
mailing list