<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Lib/multiprocessing, branch enum-private-310</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/'/>
<entry>
<title>bpo-38840: Incorrect __all__ in multiprocessing.managers (GH-18034)</title>
<updated>2021-08-09T17:39:05+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2021-08-09T17:39:05+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=8ece98a7e418c3c68a4c61bc47a2d0931b59a889'/>
<id>8ece98a7e418c3c68a4c61bc47a2d0931b59a889</id>
<content type='text'>
This was causing test___all__ to fail on platforms lacking a shared
memory implementation.

Co-Authored-By: Xavier de Gaye &lt;xdegaye@gmail.com&gt;
Co-authored-by: Łukasz Langa &lt;lukasz@langa.pl&gt;
(cherry picked from commit d0978761118856e8ca8ea7b162a6585b8da83df9)

Co-authored-by: Zackery Spytz &lt;zspytz@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This was causing test___all__ to fail on platforms lacking a shared
memory implementation.

Co-Authored-By: Xavier de Gaye &lt;xdegaye@gmail.com&gt;
Co-authored-by: Łukasz Langa &lt;lukasz@langa.pl&gt;
(cherry picked from commit d0978761118856e8ca8ea7b162a6585b8da83df9)

Co-authored-by: Zackery Spytz &lt;zspytz@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-30256: Add manager_owned keyword arg to AutoProxy (GH-16341) (#26987)</title>
<updated>2021-07-02T04:15:47+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2021-07-02T04:15:47+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=3ec3e0f83c34eda1ad89b731e68f4a22a5f39333'/>
<id>3ec3e0f83c34eda1ad89b731e68f4a22a5f39333</id>
<content type='text'>
Co-authored-by: Jordan Speicher &lt;jordan@jspeicher.com&gt;
(cherry picked from commit 85b920498b42c69185540ecc2f5c4907fd38d877)

Co-authored-by: finefoot &lt;33361833+finefoot@users.noreply.github.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Jordan Speicher &lt;jordan@jspeicher.com&gt;
(cherry picked from commit 85b920498b42c69185540ecc2f5c4907fd38d877)

Co-authored-by: finefoot &lt;33361833+finefoot@users.noreply.github.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-43867: multiprocessing Server catchs SystemExit (GH-25441)</title>
<updated>2021-04-16T17:42:34+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2021-04-16T17:42:34+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=7c29ae1f0585378dba4d220a2c0fb5dd49fdab3e'/>
<id>7c29ae1f0585378dba4d220a2c0fb5dd49fdab3e</id>
<content type='text'>
The multiprocessing Server class now explicitly catchs SystemExit and
closes the client connection in this case. It happens when the
Server.serve_client() method reachs the end of file (EOF).</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The multiprocessing Server class now explicitly catchs SystemExit and
closes the client connection in this case. It happens when the
Server.serve_client() method reachs the end of file (EOF).</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-43651: Fix test_compileall with PEP 597 (GH-25128)</title>
<updated>2021-04-02T00:01:57+00:00</updated>
<author>
<name>Inada Naoki</name>
<email>songofacandy@gmail.com</email>
</author>
<published>2021-04-02T00:01:57+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=80017752ba938852d53f9d83a404b4ecd9ff2baa'/>
<id>80017752ba938852d53f9d83a404b4ecd9ff2baa</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-40692: Run more test_concurrent_futures tests (GH-20239)</title>
<updated>2021-02-08T03:15:51+00:00</updated>
<author>
<name>Asheesh Laroia</name>
<email>github@asheesh.org</email>
</author>
<published>2021-02-08T03:15:51+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=bf2e7e55d7306b1e2fce7dce767e8df5ff42cf1c'/>
<id>bf2e7e55d7306b1e2fce7dce767e8df5ff42cf1c</id>
<content type='text'>
In the case of multiprocessing.synchronize() being missing, the
test_concurrent_futures test suite now skips only the tests that
require multiprocessing.synchronize().

Validate that multiprocessing.synchronize exists as part of
_check_system_limits(), allowing ProcessPoolExecutor to raise
NotImplementedError during __init__, rather than crashing with
ImportError during __init__ when creating a lock imported from
multiprocessing.synchronize.

Use _check_system_limits() to disable tests of
ProcessPoolExecutor on systems without multiprocessing.synchronize.

Running the test suite without multiprocessing.synchronize reveals
that Lib/compileall.py crashes when it uses a ProcessPoolExecutor.
Therefore, change Lib/compileall.py to call _check_system_limits()
before creating the ProcessPoolExecutor.

Note that both Lib/compileall.py and Lib/test/test_compileall.py
were attempting to sanity-check ProcessPoolExecutor by expecting
ImportError. In multiprocessing.resource_tracker, sem_unlink() is also absent
on platforms where POSIX semaphores aren't available. Avoid using
sem_unlink() if it, too, does not exist.

Co-authored-by: Pablo Galindo &lt;Pablogsal@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In the case of multiprocessing.synchronize() being missing, the
test_concurrent_futures test suite now skips only the tests that
require multiprocessing.synchronize().

Validate that multiprocessing.synchronize exists as part of
_check_system_limits(), allowing ProcessPoolExecutor to raise
NotImplementedError during __init__, rather than crashing with
ImportError during __init__ when creating a lock imported from
multiprocessing.synchronize.

Use _check_system_limits() to disable tests of
ProcessPoolExecutor on systems without multiprocessing.synchronize.

Running the test suite without multiprocessing.synchronize reveals
that Lib/compileall.py crashes when it uses a ProcessPoolExecutor.
Therefore, change Lib/compileall.py to call _check_system_limits()
before creating the ProcessPoolExecutor.

Note that both Lib/compileall.py and Lib/test/test_compileall.py
were attempting to sanity-check ProcessPoolExecutor by expecting
ImportError. In multiprocessing.resource_tracker, sem_unlink() is also absent
on platforms where POSIX semaphores aren't available. Avoid using
sem_unlink() if it, too, does not exist.

Co-authored-by: Pablo Galindo &lt;Pablogsal@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-41344: Raise ValueError when creating shared memory of size 0 (GH-21556)</title>
<updated>2020-08-30T19:03:11+00:00</updated>
<author>
<name>Vinay Sharma</name>
<email>vinay04sharma@icloud.com</email>
</author>
<published>2020-08-30T19:03:11+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=475a5fbb5644ea200c990d85d8c264e78ab6c7ea'/>
<id>475a5fbb5644ea200c990d85d8c264e78ab6c7ea</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix typo in message from assert statement (GH-21283)</title>
<updated>2020-08-17T13:38:55+00:00</updated>
<author>
<name>Allen</name>
<email>64019758+aboddie@users.noreply.github.com</email>
</author>
<published>2020-08-17T13:38:55+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=99c0ee3c893bb99fd98a97084fc386ce2911eb64'/>
<id>99c0ee3c893bb99fd98a97084fc386ce2911eb64</id>
<content type='text'>
The error message was missing space between the action "acquire" and "_wait_semaphore" which is an attribute for instances of Condition.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The error message was missing space between the action "acquire" and "_wait_semaphore" which is an attribute for instances of Condition.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-39244: multiprocessing return default start method first on macOS (GH-18625)</title>
<updated>2020-05-26T14:54:21+00:00</updated>
<author>
<name>idomic</name>
<email>michael.ido@gmail.com</email>
</author>
<published>2020-05-26T14:54:21+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=db098bc1f05bd0773943e59f83489f05f28dedf8'/>
<id>db098bc1f05bd0773943e59f83489f05f28dedf8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-40443: Remove unused imports in stdlib (GH-19815)</title>
<updated>2020-05-01T00:38:00+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-05-01T00:38:00+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=eb0d359b4b0e14552998e7af771a088b4fd01745'/>
<id>eb0d359b4b0e14552998e7af771a088b4fd01745</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-30966: Add multiprocessing.SimpleQueue.close() (GH-19735)</title>
<updated>2020-04-27T16:11:10+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-04-27T16:11:10+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=9adccc1384568f4d46e37f698cb3e3a4f6ca0252'/>
<id>9adccc1384568f4d46e37f698cb3e3a4f6ca0252</id>
<content type='text'>
Add a new close() method to multiprocessing.SimpleQueue to explicitly
close the queue.

Automerge-Triggered-By: @pitrou</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a new close() method to multiprocessing.SimpleQueue to explicitly
close the queue.

Automerge-Triggered-By: @pitrou</pre>
</div>
</content>
</entry>
</feed>
