Thomas Moreau <thomas.moreau.2...@gmail.com> added the comment: > Is it an optimization problem, or does it risk leaking semaphores?
I do not think it risks leaking semaphores as the clean-up is performed by the process which created the Semaphore. So I would say it is more an optimization issue. It is true that I do not see many use case where the Semaphore might be created by the child process but it was optimized in previous version. If you don't think it is useful, we could avoid sharing the semaphore_tracker pipe to the child process to reduce complexity in the spawning process. Do you think it is worth fixing or it should be simplified? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue31310> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com