<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Lib/concurrent, branch benjamin-eval-loop-edit</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>bpo-33238: Add InvalidStateError to concurrent.futures. (GH-7056)</title>
<updated>2018-05-30T07:15:06+00:00</updated>
<author>
<name>jhaydaman</name>
<email>33549221+jhaydaman@users.noreply.github.com</email>
</author>
<published>2018-05-30T07:15:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=0a28c0d12ee7201de039ced4d815f57f1f8fd48c'/>
<id>0a28c0d12ee7201de039ced4d815f57f1f8fd48c</id>
<content type='text'>
Future.set_result and Future.set_exception now raise InvalidStateError
if the futures are not pending or running. This mirrors the behavior
of asyncio.Future, and prevents AssertionErrors in asyncio.wrap_future
when set_result is called multiple times.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Future.set_result and Future.set_exception now raise InvalidStateError
if the futures are not pending or running. This mirrors the behavior
of asyncio.Future, and prevents AssertionErrors in asyncio.wrap_future
when set_result is called multiple times.
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-33097: Fix submit accepting callable after executor shutdown by interpreter exit (GH-6144)</title>
<updated>2018-04-10T17:23:14+00:00</updated>
<author>
<name>Mark Nemec</name>
<email>mrknmc@me.com</email>
</author>
<published>2018-04-10T17:23:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=c4b695f85e141f57d22d8edf7bc2c756da136918'/>
<id>c4b695f85e141f57d22d8edf7bc2c756da136918</id>
<content type='text'>
Executors in concurrent.futures accepted tasks after executor was shutdown by interpreter exit. Tasks were left in PENDING state forever. This fix changes submit to instead raise a RuntimeError.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Executors in concurrent.futures accepted tasks after executor was shutdown by interpreter exit. Tasks were left in PENDING state forever. This fix changes submit to instead raise a RuntimeError.
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-33056 FIX leaking fd in concurrent.futures.ProcessPoolExecutor (#6084)</title>
<updated>2018-03-12T17:18:41+00:00</updated>
<author>
<name>Thomas Moreau</name>
<email>thomas.moreau.2010@gmail.com</email>
</author>
<published>2018-03-12T17:18:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=095ee415cee41bf24c3a1108c23307e5baf168dd'/>
<id>095ee415cee41bf24c3a1108c23307e5baf168dd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-32596: Make lazy-load portable (GH-5316)</title>
<updated>2018-01-26T01:53:31+00:00</updated>
<author>
<name>INADA Naoki</name>
<email>methane@users.noreply.github.com</email>
</author>
<published>2018-01-26T01:53:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=4666ec597c38eea06a22bcfb4157d92a0abf891c'/>
<id>4666ec597c38eea06a22bcfb4157d92a0abf891c</id>
<content type='text'>
Global variables should not used as import target.
Use temporary variable instead.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Global variables should not used as import target.
Use temporary variable instead.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-32596: Lazy import concurrent.futures.process and thread (GH-5241)</title>
<updated>2018-01-20T00:54:42+00:00</updated>
<author>
<name>INADA Naoki</name>
<email>methane@users.noreply.github.com</email>
</author>
<published>2018-01-20T00:54:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=6690bb9f17d34eb3dec0aca8919d8d27d6c3c452'/>
<id>6690bb9f17d34eb3dec0aca8919d8d27d6c3c452</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-32576: use queue.SimpleQueue in critical places (#5216)</title>
<updated>2018-01-18T09:38:03+00:00</updated>
<author>
<name>Antoine Pitrou</name>
<email>pitrou@free.fr</email>
</author>
<published>2018-01-18T09:38:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=ab74504346a6e2569b3255b7b621c589716888c4'/>
<id>ab74504346a6e2569b3255b7b621c589716888c4</id>
<content type='text'>
Where a queue may be invoked from a weakref callback, we need
to use the reentrant SimpleQueue.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Where a queue may be invoked from a weakref callback, we need
to use the reentrant SimpleQueue.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-31699 Deadlocks in `concurrent.futures.ProcessPoolExecutor` with pickling error (#3895)</title>
<updated>2018-01-05T10:15:54+00:00</updated>
<author>
<name>Thomas Moreau</name>
<email>thomas.moreau.2010@gmail.com</email>
</author>
<published>2018-01-05T10:15:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=94459fd7dc25ce19096f2080eb7339497d319eb0'/>
<id>94459fd7dc25ce19096f2080eb7339497d319eb0</id>
<content type='text'>
Fix deadlocks in :class:`concurrent.futures.ProcessPoolExecutor` when task arguments or results cause pickling or unpickling errors.
This should make sure that calls to the :class:`ProcessPoolExecutor` API always eventually return.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix deadlocks in :class:`concurrent.futures.ProcessPoolExecutor` when task arguments or results cause pickling or unpickling errors.
This should make sure that calls to the :class:`ProcessPoolExecutor` API always eventually return.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-21423: Add an initializer argument to {Process,Thread}PoolExecutor (#4241)</title>
<updated>2017-11-04T10:05:49+00:00</updated>
<author>
<name>Antoine Pitrou</name>
<email>pitrou@free.fr</email>
</author>
<published>2017-11-04T10:05:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=63ff4131af86e8a48cbedb9fbba95bd65ca90061'/>
<id>63ff4131af86e8a48cbedb9fbba95bd65ca90061</id>
<content type='text'>
* bpo-21423: Add an initializer argument to {Process,Thread}PoolExecutor

* Fix docstring
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* bpo-21423: Add an initializer argument to {Process,Thread}PoolExecutor

* Fix docstring
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-31540: Allow passing multiprocessing context to ProcessPoolExecutor (#3682)</title>
<updated>2017-10-03T09:53:17+00:00</updated>
<author>
<name>Thomas Moreau</name>
<email>thomas.moreau.2010@gmail.com</email>
</author>
<published>2017-10-03T09:53:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=e8c368df22c344183627e7ef882bea1683fe6dbe'/>
<id>e8c368df22c344183627e7ef882bea1683fe6dbe</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-31641: Allow arbitrary iterables in `concurrent.futures.as_completed()` (#3830)</title>
<updated>2017-09-29T21:33:34+00:00</updated>
<author>
<name>Łukasz Langa</name>
<email>lukasz@langa.pl</email>
</author>
<published>2017-09-29T21:33:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=574562c5ddb2f0429aab9af762442e6f9a3f26ab'/>
<id>574562c5ddb2f0429aab9af762442e6f9a3f26ab</id>
<content type='text'>
This was possible before.  GH-1560 introduced a regression after 3.6.2 got
released where only sequences were accepted now.  This commit addresses this
problem.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This was possible before.  GH-1560 introduced a regression after 3.6.2 got
released where only sequences were accepted now.  This commit addresses this
problem.</pre>
</div>
</content>
</entry>
</feed>
