<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Lib/concurrent, branch main</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/'/>
<entry>
<title>gh-94440: Fix issue of ProcessPoolExecutor shutdown hanging (#94468)</title>
<updated>2023-03-16T04:44:52+00:00</updated>
<author>
<name>yonatanp</name>
<email>yonatan.perry@gmail.com</email>
</author>
<published>2023-03-16T04:44:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=2dc94634b50f0e5e207787e5ac1d56c68b22c3ae'/>
<id>2dc94634b50f0e5e207787e5ac1d56c68b22c3ae</id>
<content type='text'>
Fix an issue of concurrent.futures ProcessPoolExecutor shutdown hanging.

Co-authored-by: Alex Waygood &lt;Alex.Waygood@Gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix an issue of concurrent.futures ProcessPoolExecutor shutdown hanging.

Co-authored-by: Alex Waygood &lt;Alex.Waygood@Gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>gh-102515: Remove unused imports in the `Lib/` directory (#102516)</title>
<updated>2023-03-08T11:45:38+00:00</updated>
<author>
<name>Alex Waygood</name>
<email>Alex.Waygood@Gmail.com</email>
</author>
<published>2023-03-08T11:45:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=401d7a7f009ca2e282b1a0d1b880dc602afd39dc'/>
<id>401d7a7f009ca2e282b1a0d1b880dc602afd39dc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>gh-84559: Remove the new multiprocessing warning, too disruptive. (#101551)</title>
<updated>2023-02-03T23:20:46+00:00</updated>
<author>
<name>Gregory P. Smith</name>
<email>greg@krypto.org</email>
</author>
<published>2023-02-03T23:20:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=d4c410f0f922683f38c9d435923939d037fbd8c2'/>
<id>d4c410f0f922683f38c9d435923939d037fbd8c2</id>
<content type='text'>
This reverts the core of #100618 while leaving relevant documentation
improvements and minor refactorings in place.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts the core of #100618 while leaving relevant documentation
improvements and minor refactorings in place.</pre>
</div>
</content>
</entry>
<entry>
<title>GH-84559: Deprecate fork being the multiprocessing default. (#100618)</title>
<updated>2023-02-02T23:50:35+00:00</updated>
<author>
<name>Gregory P. Smith</name>
<email>greg@krypto.org</email>
</author>
<published>2023-02-02T23:50:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=0ca67e6313c11263ecaef7ce182308eeb5aa6814'/>
<id>0ca67e6313c11263ecaef7ce182308eeb5aa6814</id>
<content type='text'>
This starts the process. Users who don't specify their own start method
and use the default on platforms where it is 'fork' will see a
DeprecationWarning upon multiprocessing.Pool() construction or upon
multiprocessing.Process.start() or concurrent.futures.ProcessPool use.

See the related issue and documentation within this change for details.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This starts the process. Users who don't specify their own start method
and use the default on platforms where it is 'fork' will see a
DeprecationWarning upon multiprocessing.Pool() construction or upon
multiprocessing.Process.start() or concurrent.futures.ProcessPool use.

See the related issue and documentation within this change for details.</pre>
</div>
</content>
</entry>
<entry>
<title>gh-95166: cancel map waited on future on timeout (GH-95169)</title>
<updated>2022-07-28T09:20:10+00:00</updated>
<author>
<name>Thomas Grainger</name>
<email>tagrain@gmail.com</email>
</author>
<published>2022-07-28T09:20:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=e16d4ed59072839b49bda4b447f260201aae7e39'/>
<id>e16d4ed59072839b49bda4b447f260201aae7e39</id>
<content type='text'>
Co-authored-by: Kumar Aditya &lt;59607654+kumaraditya303@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Kumar Aditya &lt;59607654+kumaraditya303@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>gh-90622: Do not spawn ProcessPool workers on demand via fork method. (#91598)</title>
<updated>2022-05-08T16:20:34+00:00</updated>
<author>
<name>Gregory P. Smith</name>
<email>greg@krypto.org</email>
</author>
<published>2022-05-08T16:20:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=ebb37fc3fdcb03db4e206db017eeef7aaffbae84'/>
<id>ebb37fc3fdcb03db4e206db017eeef7aaffbae84</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.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.</pre>
</div>
</content>
</entry>
<entry>
<title>gh-90622: Prevent max_tasks_per_child use with a fork mp_context. (#91587)</title>
<updated>2022-05-06T07:04:53+00:00</updated>
<author>
<name>Gregory P. Smith</name>
<email>greg@krypto.org</email>
</author>
<published>2022-05-06T07:04:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=fa4f0a134e7911b2494ea9866c8a49ff446f9d6c'/>
<id>fa4f0a134e7911b2494ea9866c8a49ff446f9d6c</id>
<content type='text'>
Prevent `max_tasks_per_child` use with a "fork" mp_context to avoid deadlocks.

Also defaults to "spawn" when no mp_context is supplied for safe convenience.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Prevent `max_tasks_per_child` use with a "fork" mp_context to avoid deadlocks.

Also defaults to "spawn" when no mp_context is supplied for safe convenience.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-46787: Fix `ProcessPoolExecutor exception` memory leak (GH-31408) (#31408)</title>
<updated>2022-05-02T20:24:39+00:00</updated>
<author>
<name>themylogin</name>
<email>themylogin@gmail.com</email>
</author>
<published>2022-05-02T20:24:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=9c204b148fad9742ed19b3bce173073cdec79819'/>
<id>9c204b148fad9742ed19b3bce173073cdec79819</id>
<content type='text'>
Do not store `ProcessPoolExecutor` work item exception traceback that prevents
exception frame locals from being garbage collected.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Do not store `ProcessPoolExecutor` work item exception traceback that prevents
exception frame locals from being garbage collected.</pre>
</div>
</content>
</entry>
<entry>
<title>concurrent.futures: Fix typo in docstring (#92121)</title>
<updated>2022-05-02T15:05:26+00:00</updated>
<author>
<name>Yiannis Hadjicharalambous</name>
<email>hadjicharalambous.yiannis@gmail.com</email>
</author>
<published>2022-05-02T15:05:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=b11243e85e020ed2f524bdd83c339faf11ef03d4'/>
<id>b11243e85e020ed2f524bdd83c339faf11ef03d4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove trailing spaces (GH-31695)</title>
<updated>2022-03-05T15:47:00+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2022-03-05T15:47:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=6927632492cbad86a250aa006c1847e03b03e70b'/>
<id>6927632492cbad86a250aa006c1847e03b03e70b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
