<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/concurrent/futures, branch 3.10</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/concurrent/futures?h=3.10</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/concurrent/futures?h=3.10'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2023-03-16T05:08:11Z</updated>
<entry>
<title>gh-94440: Fix issue of ProcessPoolExecutor shutdown hanging (GH-94468)</title>
<updated>2023-03-16T05:08:11Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2023-03-16T05:08:11Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=97812403bf01f665b27d7506f209ac9f1e913f24'/>
<id>urn:sha1:97812403bf01f665b27d7506f209ac9f1e913f24</id>
<content type='text'>
Fix an issue of concurrent.futures ProcessPoolExecutor shutdown hanging.

(cherry picked from commit 2dc94634b50f0e5e207787e5ac1d56c68b22c3ae)

Co-authored-by: yonatanp &lt;yonatan.perry@gmail.com&gt;
Co-authored-by: Alex Waygood &lt;Alex.Waygood@Gmail.com&gt;</content>
</entry>
<entry>
<title>[3.10] gh-95166: cancel map waited on future on timeout (GH-95169) (GH-95375)</title>
<updated>2022-07-29T12:36:58Z</updated>
<author>
<name>Łukasz Langa</name>
<email>lukasz@langa.pl</email>
</author>
<published>2022-07-29T12:36:58Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=18418858b2cfca221613af1c58bf657f8bfb6d6c'/>
<id>urn:sha1:18418858b2cfca221613af1c58bf657f8bfb6d6c</id>
<content type='text'>
Co-authored-by: Thomas Grainger &lt;tagrain@gmail.com&gt;
Co-authored-by: Kumar Aditya &lt;59607654+kumaraditya303@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>[3.10] gh-90622: Do not spawn ProcessPool workers on demand via fork method. (GH-91598) (#92497)</title>
<updated>2022-05-08T17:12:46Z</updated>
<author>
<name>Gregory P. Smith</name>
<email>greg@krypto.org</email>
</author>
<published>2022-05-08T17:12:46Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b795376a628ae7cc354addbb926d724ebe364fec'/>
<id>urn:sha1:b795376a628ae7cc354addbb926d724ebe364fec</id>
<content type='text'>
Do not spawn ProcessPool workers on demand when they spawn via fork.

This avoids potential deadlocks in the child processes due to forking from
a multithreaded process..
(cherry picked from commit ebb37fc3fdcb03db4e206db017eeef7aaffbae84)

Co-authored-by: Gregory P. Smith &lt;greg@krypto.org&gt;</content>
</entry>
<entry>
<title>bpo-46787: Fix `ProcessPoolExecutor exception` memory leak (GH-31408) (GH-31408)</title>
<updated>2022-05-02T22:45:22Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2022-05-02T22:45:22Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c467812bc0174c12546f7bfdd4f6e445b87590c0'/>
<id>urn:sha1:c467812bc0174c12546f7bfdd4f6e445b87590c0</id>
<content type='text'>
Do not store `ProcessPoolExecutor` work item exception traceback that prevents
exception frame locals from being garbage collected.
(cherry picked from commit 9c204b148fad9742ed19b3bce173073cdec79819)

Co-authored-by: themylogin &lt;themylogin@gmail.com&gt;</content>
</entry>
<entry>
<title>concurrent.futures: Fix typo in docstring (GH-92121)</title>
<updated>2022-05-02T16:06:43Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2022-05-02T16:06:43Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ac508276dc8c9e1ac0731ec7fce3aae3a378ffd1'/>
<id>urn:sha1:ac508276dc8c9e1ac0731ec7fce3aae3a378ffd1</id>
<content type='text'>
(cherry picked from commit b11243e85e020ed2f524bdd83c339faf11ef03d4)

Co-authored-by: Yiannis Hadjicharalambous &lt;hadjicharalambous.yiannis@gmail.com&gt;</content>
</entry>
<entry>
<title>bpo-20369: concurrent.futures.wait() now deduplicates futures given a… (GH-30168)</title>
<updated>2022-01-04T14:27:13Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2022-01-04T14:27:13Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ba124672d7bf490bea2930a3e8371823db5d4cae'/>
<id>urn:sha1:ba124672d7bf490bea2930a3e8371823db5d4cae</id>
<content type='text'>
* bpo-20369: concurrent.futures.wait() now deduplicates futures given as arg.

* 📜🤖 Added by blurb_it.

Co-authored-by: blurb-it[bot] &lt;43283697+blurb-it[bot]@users.noreply.github.com&gt;
(cherry picked from commit 7d7817cf0f826e566d8370a0e974bbfed6611d91)

Co-authored-by: Kumar Aditya &lt;59607654+kumaraditya303@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>bpo-43498: Fix dictionary iteration error in _ExecutorManagerThread (GH-24868)</title>
<updated>2021-11-29T12:24:08Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2021-11-29T12:24:08Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4b11d7118561a12322d3cfa76c5941690b241149'/>
<id>urn:sha1:4b11d7118561a12322d3cfa76c5941690b241149</id>
<content type='text'>
(cherry picked from commit 7431448b817d3bf87f71661cf8f3d537807ab2e2)

Co-authored-by: Jakub Kulík &lt;Kulikjak@gmail.com&gt;</content>
</entry>
<entry>
<title>[3.10] bpo-45021: Fix a hang in forked children (GH-28007) (GH-28480)</title>
<updated>2021-09-20T18:52:23Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2021-09-20T18:52:23Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d0d83a94314402366e04e7ea2638f809510eb830'/>
<id>urn:sha1:d0d83a94314402366e04e7ea2638f809510eb830</id>
<content type='text'>
_global_shutdown_lock should be reinitialized in forked children
(cherry picked from commit 0bfa1106acfcddc03590e1f5d6789dbad3affe70)


Co-authored-by: nullptr &lt;3621629+0x0L@users.noreply.github.com&gt;

Automerge-Triggered-By: GH:gpshead</content>
</entry>
<entry>
<title>bpo-35930: Raising an exception raised in a "future" instance will create reference cycles (#24995)</title>
<updated>2021-03-29T17:22:13Z</updated>
<author>
<name>Jesús Cea</name>
<email>jcea@jcea.es</email>
</author>
<published>2021-03-29T17:22:13Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=32430aadadf6e012e39167d3c18a24e49fb84874'/>
<id>urn:sha1:32430aadadf6e012e39167d3c18a24e49fb84874</id>
<content type='text'>
Before: https://lists.es.python.org/pipermail/general/attachments/20201229/0c14bc58/attachment-0002.png

After: https://lists.es.python.org/pipermail/general/attachments/20201229/0c14bc58/attachment-0003.png</content>
</entry>
<entry>
<title>bpo-40692: Run more test_concurrent_futures tests (GH-20239)</title>
<updated>2021-02-08T03:15:51Z</updated>
<author>
<name>Asheesh Laroia</name>
<email>github@asheesh.org</email>
</author>
<published>2021-02-08T03:15:51Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=bf2e7e55d7306b1e2fce7dce767e8df5ff42cf1c'/>
<id>urn:sha1: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>
</entry>
</feed>
