Closed TaiSakuma closed 4 years ago
v0.9.7, Python 2.7
The test script example_04_multiprocessing.py, a modified version of the example script with the same file name in the reporsitory, occasionally produces a duplicate progress bar in Python 2.7
The output supposed to look like.
$ ./examples/example_04_multiprocessing.py 100.00% :::::::::::::::::::::::::::::::::::::::: | 4 / 4 |: launching processes 100.00% :::::::::::::::::::::::::::::::::::::::: | 3 / 3 |: submitting tasks 100.00% :::::::::::::::::::::::::::::::::::::::: | 179 / 179 |: task 1 100.00% :::::::::::::::::::::::::::::::::::::::: | 2052 / 2052 |: task 2 100.00% :::::::::::::::::::::::::::::::::::::::: | 4710 / 4710 |: task 0 here 100.00% :::::::::::::::::::::::::::::::::::::::: | 241 / 241 |: task 1 100.00% :::::::::::::::::::::::::::::::::::::::: | 3506 / 3506 |: task 0 100.00% :::::::::::::::::::::::::::::::::::::::: | 2625 / 2625 |: task 3 100.00% :::::::::::::::::::::::::::::::::::::::: | 2283 / 2283 |: task 5 100.00% :::::::::::::::::::::::::::::::::::::::: | 5131 / 5131 |: task 2 100.00% :::::::::::::::::::::::::::::::::::::::: | 5803 / 5803 |: task 6 100.00% :::::::::::::::::::::::::::::::::::::::: | 9148 / 9148 |: task 4 here here
But occasionally (about once in ten executions), it produces an extra progree bar at the end.
$ ./examples/example_04_multiprocessing.py 100.00% :::::::::::::::::::::::::::::::::::::::: | 4 / 4 |: launching processes 100.00% :::::::::::::::::::::::::::::::::::::::: | 3 / 3 |: submitting tasks 100.00% :::::::::::::::::::::::::::::::::::::::: | 2378 / 2378 |: task 1 100.00% :::::::::::::::::::::::::::::::::::::::: | 4106 / 4106 |: task 0 100.00% :::::::::::::::::::::::::::::::::::::::: | 5433 / 5433 |: task 2 here 100.00% :::::::::::::::::::::::::::::::::::::::: | 415 / 415 |: task 2 100.00% :::::::::::::::::::::::::::::::::::::::: | 4993 / 4993 |: task 0 100.00% :::::::::::::::::::::::::::::::::::::::: | 4943 / 4943 |: task 1 100.00% :::::::::::::::::::::::::::::::::::::::: | 2642 / 2642 |: task 4 100.00% :::::::::::::::::::::::::::::::::::::::: | 4201 / 4201 |: task 3 100.00% :::::::::::::::::::::::::::::::::::::::: | 6486 / 6486 |: task 5 100.00% :::::::::::::::::::::::::::::::::::::::: | 6735 / 6735 |: task 6 here 0.00% | 0 / 4 |: launching processes here
The extra progress bar is always for launching processes and done is always 0. This doesn't happen in Python 3.
launching processes
done
0
closed as stopped supporting Python 2.7 from v1.0.8
v0.9.7, Python 2.7
The test script example_04_multiprocessing.py, a modified version of the example script with the same file name in the reporsitory, occasionally produces a duplicate progress bar in Python 2.7
The output supposed to look like.
But occasionally (about once in ten executions), it produces an extra progree bar at the end.
The extra progress bar is always for
launching processes
anddone
is always0
. This doesn't happen in Python 3.