<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/multiprocessing, branch v3.7.2</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/multiprocessing?h=v3.7.2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/multiprocessing?h=v3.7.2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2018-12-06T00:49:05Z</updated>
<entry>
<title>[3.7] Revert "bpo-34172: multiprocessing.Pool leaks resources after being deleted (GH-8450) (GH-9676)" (#10968)</title>
<updated>2018-12-06T00:49:05Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-12-06T00:49:05Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3c6b0d967eb4c95e06c4f1beddfca4f6300d92ce'/>
<id>urn:sha1:3c6b0d967eb4c95e06c4f1beddfca4f6300d92ce</id>
<content type='text'>
This reverts commit 97f998a4dfd6db6d867f446daa62445d0782bf39.
</content>
</entry>
<entry>
<title>bpo-34172: multiprocessing.Pool leaks resources after being deleted (GH-8450) (GH-9676)</title>
<updated>2018-10-02T21:17:04Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-10-02T21:17:04Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=97f998a4dfd6db6d867f446daa62445d0782bf39'/>
<id>urn:sha1:97f998a4dfd6db6d867f446daa62445d0782bf39</id>
<content type='text'>
Fix a reference issue inside multiprocessing.Pool that caused the pool to remain alive if it was deleted without being closed or terminated explicitly.
(cherry picked from commit 97bfe8d3ebb0a54c8798f57555cb4152f9b2e1d0)

Co-authored-by: tzickel &lt;tzickel@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>bpo-34521: Fix tests in test_multiprocessing_spawn to use correctly CMSG_SPACE (GH-9613) (GH-9619)</title>
<updated>2018-09-28T13:07:56Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-09-28T13:07:56Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=007fda436f707ac95c2fa8f8886efd9e09d5b630'/>
<id>urn:sha1:007fda436f707ac95c2fa8f8886efd9e09d5b630</id>
<content type='text'>
After some failures in AMD64 FreeBSD CURRENT Debug 3.x buildbots
regarding tests in test_multiprocessing_spawn and after examining
similar failures in test_socket, some errors in the calculation of
ancillary data buffers were found in multiprocessing.reduction.

CMSG_LEN() can often be used as the buffer size for recvmsg() to
receive a single item of ancillary data, but RFC 3542 requires portable
applications to use CMSG_SPACE() and thus include space for padding,
even when the item will be the last in the buffer.

The failures we experience are due to the usage of CMSG_LEN() instead of
CMSG_SPACE().
(cherry picked from commit 077061a7b24917aaf31057885c69919c5a553c88)

Co-authored-by: Pablo Galindo &lt;Pablogsal@gmail.com&gt;</content>
</entry>
<entry>
<title>bpo-34610: Fixed iterator of multiprocessing.managers.DictProxy. (GH-9113)</title>
<updated>2018-09-17T12:10:56Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-09-17T12:10:56Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1d3078849381335008379e3de96d5a81d2131113'/>
<id>urn:sha1:1d3078849381335008379e3de96d5a81d2131113</id>
<content type='text'>
(cherry picked from commit e0e5065daef36dafe10a46eaa8b7800274d73062)

Co-authored-by: Serhiy Storchaka &lt;storchaka@gmail.com&gt;</content>
</entry>
<entry>
<title>bpo-34054: multiprocessing uses time.monotonic() (GH-8118)</title>
<updated>2018-07-06T12:11:21Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-07-06T12:11:21Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4bd5fce27d5c03a013e5ebb008670ca0d89e3298'/>
<id>urn:sha1:4bd5fce27d5c03a013e5ebb008670ca0d89e3298</id>
<content type='text'>
The multiprocessing module now uses the monotonic clock
time.monotonic() instead of the system clock time.time() to implement
timeouts.
(cherry picked from commit c2368cbc83ca2bafeaea0e4760be4996046d0444)

Co-authored-by: Victor Stinner &lt;vstinner@redhat.com&gt;</content>
</entry>
<entry>
<title>Revert "bpo-33929: multiprocessing: fix handle leak on race condition (GH-7921)" (GH-7963)</title>
<updated>2018-06-27T13:17:34Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-06-27T13:17:34Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7b5856e7f059748f41f37d00abc76be0807d989d'/>
<id>urn:sha1:7b5856e7f059748f41f37d00abc76be0807d989d</id>
<content type='text'>
This reverts commit 8b1ebcd7cb3319273ea635df78ebf9ad40171514.</content>
</entry>
<entry>
<title>bpo-33929: multiprocessing: fix handle leak on race condition (GH-7921)</title>
<updated>2018-06-27T09:59:44Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-06-27T09:59:44Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8b1ebcd7cb3319273ea635df78ebf9ad40171514'/>
<id>urn:sha1:8b1ebcd7cb3319273ea635df78ebf9ad40171514</id>
<content type='text'>
Fix a race condition in Popen of
multiprocessing.popen_spawn_win32. The child process now duplicates
the read end of pipe instead of "stealing" it.

Previously, the read end of pipe was "stolen" by the child process,
but it leaked a handle if the child process had been terminated
before it could steal the handle from the parent process.
(cherry picked from commit 2cc9d21fffb8146d30e6fb4221e32410ba4b4ab7)

Co-authored-by: Victor Stinner &lt;vstinner@redhat.com&gt;</content>
</entry>
<entry>
<title>bpo-33078 - Fix queue size on pickling error (GH-6119) (GH-6178)</title>
<updated>2018-03-21T16:21:15Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-03-21T16:21:15Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=bb5b5291971c104ea773db1a30e46d410b6b3e1e'/>
<id>urn:sha1:bb5b5291971c104ea773db1a30e46d410b6b3e1e</id>
<content type='text'>
(cherry picked from commit e2f33add635df4fde81be9960bab367e010c19bf)

Co-authored-by: Thomas Moreau &lt;thomas.moreau.2010@gmail.com&gt;</content>
</entry>
<entry>
<title>bpo-31804: Fix multiprocessing.Process with broken standard streams (GH-6079) (GH-6080)</title>
<updated>2018-03-11T18:42:37Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-03-11T18:42:37Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ff5d21331ec6cefec6ba5b78d256d8dbcd67a069'/>
<id>urn:sha1:ff5d21331ec6cefec6ba5b78d256d8dbcd67a069</id>
<content type='text'>
In some conditions the standard streams will be None or closed in the child process (for example if using "pythonw" instead of "python" on Windows).  Avoid failing with a non-0 exit code in those conditions.

Report and initial patch by poxthegreat.
(cherry picked from commit e756f66c83786ee82f5f7d45931ae50a6931dd7f)

Co-authored-by: Antoine Pitrou &lt;pitrou@free.fr&gt;</content>
</entry>
<entry>
<title>bpo-32576: use queue.SimpleQueue in critical places (#5216)</title>
<updated>2018-01-18T09:38:03Z</updated>
<author>
<name>Antoine Pitrou</name>
<email>pitrou@free.fr</email>
</author>
<published>2018-01-18T09:38:03Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ab74504346a6e2569b3255b7b621c589716888c4'/>
<id>urn:sha1:ab74504346a6e2569b3255b7b621c589716888c4</id>
<content type='text'>
Where a queue may be invoked from a weakref callback, we need
to use the reentrant SimpleQueue.</content>
</entry>
</feed>
