in the following snippet there are no difference in handling for worker1 and worker2. f[1|2].result() raises exception, while it's expected that only invocation of worker2 will raise exception, but value of r1 will be ValueError(). concurrent.futures.ProcessPoolExecutor() handles this correctly.
in the following snippet there are no difference in handling for worker1 and worker2. f[1|2].result() raises exception, while it's expected that only invocation of worker2 will raise exception, but value of r1 will be ValueError(). concurrent.futures.ProcessPoolExecutor() handles this correctly.