<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Lib/concurrent/futures, branch bind-socket</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-35715: Liberate return value of _process_worker (GH-11514)</title>
<updated>2019-03-16T22:28:51+00:00</updated>
<author>
<name>Dave Chevell</name>
<email>chevell@gmail.com</email>
</author>
<published>2019-03-16T22:28:51+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=962bdeab191ee64459caa199209331005797ea7a'/>
<id>962bdeab191ee64459caa199209331005797ea7a</id>
<content type='text'>
ProcessPoolExecutor workers will hold the return value of their last task in memory until the next task is received. Since the return value has already been propagated to the parent process's Future (or has been discarded by this point), the object can be safely released.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ProcessPoolExecutor workers will hold the return value of their last task in memory until the next task is received. Since the return value has already been propagated to the parent process's Future (or has been discarded by this point), the object can be safely released.
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-35133: Fix mistakes when concatenate string literals on different lines. (GH-10284)</title>
<updated>2018-11-05T14:20:25+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2018-11-05T14:20:25+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=34fd4c20198dea6ab2fe8dc6d32d744d9bde868d'/>
<id>34fd4c20198dea6ab2fe8dc6d32d744d9bde868d</id>
<content type='text'>
Two kind of mistakes:

1. Missed space. After concatenating there is no space between words.

2. Missed comma. Causes unintentional concatenating in a list of strings.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Two kind of mistakes:

1. Missed space. After concatenating there is no space between words.

2. Missed comma. Causes unintentional concatenating in a list of strings.
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-34819: Use a monotonic clock to compute timeouts in concurrent.futures (GH-9599)</title>
<updated>2018-09-27T11:16:26+00:00</updated>
<author>
<name>orlnub123</name>
<email>orlnub123@gmail.com</email>
</author>
<published>2018-09-27T11:16:26+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=a94ee12c26aa8dd7dce01373779df8055aff765b'/>
<id>a94ee12c26aa8dd7dce01373779df8055aff765b</id>
<content type='text'>
Use a monotonic clock to compute timeouts in :meth:`Executor.map` and :func:`as_completed`, in order to prevent timeouts from deviating when the system clock is adjusted.

This may not be sufficient on all systems. On POSIX for example, the actual waiting (e.g. in ``sem_timedwait``) is specified to rely on the CLOCK_REALTIME clock.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use a monotonic clock to compute timeouts in :meth:`Executor.map` and :func:`as_completed`, in order to prevent timeouts from deviating when the system clock is adjusted.

This may not be sufficient on all systems. On POSIX for example, the actual waiting (e.g. in ``sem_timedwait``) is specified to rely on the CLOCK_REALTIME clock.</pre>
</div>
</content>
</entry>
<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://91.123.203.49/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://91.123.203.49/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://91.123.203.49/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://91.123.203.49/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://91.123.203.49/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://91.123.203.49/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://91.123.203.49/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>
</feed>
