<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Lib/concurrent, branch misc-acks-comment</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-31783: Fix a race condition creating workers during shutdown (#13171)</title>
<updated>2019-06-28T18:54:52+00:00</updated>
<author>
<name>Brian Quinlan</name>
<email>brian@sweetapp.com</email>
</author>
<published>2019-06-28T18:54:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=242c26f53edb965e9808dd918089e664c0223407'/>
<id>242c26f53edb965e9808dd918089e664c0223407</id>
<content type='text'>
* bpo-31783: Fix a race condition while creating workers during interpreter shutdown

* 📜🤖 Added by blurb_it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* bpo-31783: Fix a race condition while creating workers during interpreter shutdown

* 📜🤖 Added by blurb_it.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix typo in Lib/concurrent/futures/thread.py (GH-13953)</title>
<updated>2019-06-15T11:43:10+00:00</updated>
<author>
<name>ubordignon</name>
<email>48903745+ubordignon@users.noreply.github.com</email>
</author>
<published>2019-06-15T11:43:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=552ace7498722f1add9f3782751b0d365f4c24c8'/>
<id>552ace7498722f1add9f3782751b0d365f4c24c8</id>
<content type='text'>

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>

</pre>
</div>
</content>
</entry>
<entry>
<title>[3.9] bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-12620)</title>
<updated>2019-06-05T15:22:31+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2019-06-05T15:22:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=142566c028720934325f0b7fe28680afd046e00f'/>
<id>142566c028720934325f0b7fe28680afd046e00f</id>
<content type='text'>
Turn deprecation warnings added in 3.8 into TypeError.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Turn deprecation warnings added in 3.8 into TypeError.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-35279: reduce default max_workers of ThreadPoolExecutor (GH-13618)</title>
<updated>2019-05-28T12:02:52+00:00</updated>
<author>
<name>Inada Naoki</name>
<email>songofacandy@gmail.com</email>
</author>
<published>2019-05-28T12:02:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=9a7e5b1b42abcedb895b1ce49d83fe067d01835c'/>
<id>9a7e5b1b42abcedb895b1ce49d83fe067d01835c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-24882: Let ThreadPoolExecutor reuse idle threads before creating new thread (#6375)</title>
<updated>2019-05-22T21:29:58+00:00</updated>
<author>
<name>Sean</name>
<email>iUnknwn@users.noreply.github.com</email>
</author>
<published>2019-05-22T21:29:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=904e34d4e6b6007986dcc585d5c553ee8ae06f95'/>
<id>904e34d4e6b6007986dcc585d5c553ee8ae06f95</id>
<content type='text'>
* Fixes issue 24882

* Add news file entry for change.

* Change test_concurrent_futures.ThreadPoolShutdownTest

Adjust the shutdown test so that, after submitting three jobs
to the executor, the test checks for less than three threads,
instead of looking for exactly three threads.

If idle threads are being recycled properly, then we should have
less than three threads.

* Switched idle count to semaphor, Updated tests

As suggested by reviewer tomMoral, swapped lock-protected counter
with a semaphore to track the number of unused threads.

Adjusted test_threads_terminate to wait for completiton of the
previous future before submitting a new one (and checking the
number of threads used).

Also added a new test to confirm the thread pool can be saturated.

* Updates tests as requested by pitrou.

* Correct minor whitespace error.

* Make test_saturation faster
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Fixes issue 24882

* Add news file entry for change.

* Change test_concurrent_futures.ThreadPoolShutdownTest

Adjust the shutdown test so that, after submitting three jobs
to the executor, the test checks for less than three threads,
instead of looking for exactly three threads.

If idle threads are being recycled properly, then we should have
less than three threads.

* Switched idle count to semaphor, Updated tests

As suggested by reviewer tomMoral, swapped lock-protected counter
with a semaphore to track the number of unused threads.

Adjusted test_threads_terminate to wait for completiton of the
previous future before submitting a new one (and checking the
number of threads used).

Also added a new test to confirm the thread pool can be saturated.

* Updates tests as requested by pitrou.

* Correct minor whitespace error.

* Make test_saturation faster
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-33110: Catch errors raised when running add_done_callback on already completed futures (GH-13141)</title>
<updated>2019-05-22T21:29:02+00:00</updated>
<author>
<name>Sam Martin</name>
<email>ABitMoreDepth@users.noreply.github.com</email>
</author>
<published>2019-05-22T21:29:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=2a3a2ece502c05ea33c95dd0db497189e0354bfd'/>
<id>2a3a2ece502c05ea33c95dd0db497189e0354bfd</id>
<content type='text'>
Wrap the callback call within the `add_done_callback` function within concurrent.futures, in order to behave in an identical manner to callbacks added to a running future are triggered once it has completed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Wrap the callback call within the `add_done_callback` function within concurrent.futures, in order to behave in an identical manner to callbacks added to a running future are triggered once it has completed.
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-26903: Limit ProcessPoolExecutor to 61 workers on Windows (GH-13132)</title>
<updated>2019-05-08T18:04:53+00:00</updated>
<author>
<name>Brian Quinlan</name>
<email>brian@sweetapp.com</email>
</author>
<published>2019-05-08T18:04:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=39889864c09741909da4ec489459d0197ea8f1fc'/>
<id>39889864c09741909da4ec489459d0197ea8f1fc</id>
<content type='text'>
Co-Authored-By: brianquinlan &lt;brian@sweetapp.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-Authored-By: brianquinlan &lt;brian@sweetapp.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't import wait from connection, it shadows a name (GH-13112)</title>
<updated>2019-05-07T17:31:11+00:00</updated>
<author>
<name>Brian Quinlan</name>
<email>brian@sweetapp.com</email>
</author>
<published>2019-05-07T17:31:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=f7bda5c5729a3cc69b32c2a3baf5c64dea666d33'/>
<id>f7bda5c5729a3cc69b32c2a3baf5c64dea666d33</id>
<content type='text'>
(lint cleanup) This import causes an argument parameter to shadow the global import name.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(lint cleanup) This import causes an argument parameter to shadow the global import name.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-36542: Allow to overwrite the signature for Python functions. (GH-12705)</title>
<updated>2019-05-06T19:40:27+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2019-05-06T19:40:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=d53cf99dca4605ace4b81b1e585616b3e1b74fa6'/>
<id>d53cf99dca4605ace4b81b1e585616b3e1b74fa6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Correct grammar in concurrent/futures/process.py docstring (GH-12761)</title>
<updated>2019-04-12T16:17:17+00:00</updated>
<author>
<name>Thomas Grainger</name>
<email>tagrain@gmail.com</email>
</author>
<published>2019-04-12T16:17:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=f938d8be4ce3e1ccca7c31cf673265634307147f'/>
<id>f938d8be4ce3e1ccca7c31cf673265634307147f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
