]> granicus.if.org Git - python/commit
bpo-35477: multiprocessing.Pool.__enter__() fails if called twice (GH-11134)
authorVictor Stinner <vstinner@redhat.com>
Thu, 13 Dec 2018 01:15:30 +0000 (02:15 +0100)
committerGitHub <noreply@github.com>
Thu, 13 Dec 2018 01:15:30 +0000 (02:15 +0100)
commit08c2ba0717089662132af69bf5948d82277a8a69
tree65536d44e81385773a0a4eaf4b047b6b3ab3575a
parent502fe19b10f66235fcf8f13fc1c0308190845def
bpo-35477: multiprocessing.Pool.__enter__() fails if called twice (GH-11134)

multiprocessing.Pool.__enter__() now fails if the pool is not
running: "with pool:" fails if used more than once.
Lib/multiprocessing/pool.py
Lib/test/_test_multiprocessing.py
Misc/NEWS.d/next/Library/2018-12-13-00-10-51.bpo-35477.hHyy06.rst [new file with mode: 0644]