]> granicus.if.org Git - python/commit
bpo-26732: fix too many fds in processes started with the "forkserver" method (#2813)
authorAntoine Pitrou <pitrou@free.fr>
Sat, 22 Jul 2017 11:22:54 +0000 (13:22 +0200)
committerGitHub <noreply@github.com>
Sat, 22 Jul 2017 11:22:54 +0000 (13:22 +0200)
commit896145d9d266ee2758cfcd7691238cbc1f9e1ab8
tree3b36a7020108c7305a478e174d8a73cdd6deb540
parent616ecf18f3aacbd8d172e01673877b22fe946e54
bpo-26732: fix too many fds in processes started with the "forkserver" method (#2813)

* bpo-26732: fix too many fds in processes started with the "forkserver" method

A child process would inherit as many fds as the number of still-running children.

* Add blurb and test comment
Lib/multiprocessing/forkserver.py
Lib/test/_test_multiprocessing.py
Lib/test/libregrtest/refleak.py
Lib/test/support/__init__.py
Misc/NEWS.d/next/Library/2017-07-22-12-12-42.bpo-26732.lYLWBH.rst [new file with mode: 0644]