[issue31687] test_semaphore_tracker() of test_multiprocessing_spawn fails randomly (race condition?)

2017-11-30 Thread stevezh
stevezh added the comment: It maybe the semaphore tracker process doesn't unlink the semaphore as soon as possible when child process exit when the system is slow. Increase test case's time in the child and before assertRaises will help. -- nosy

[issue32014] multiprocessing Server's shutdown method useless send message to manager

2017-11-12 Thread stevezh
New submission from stevezh : When shutdown the manager, Server's handle_request will send back message to the manager, so is useless for the Server's shutdown method send back "None" to the manager? Source code from Lib/multiprocessing/managers.py: