<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git, branch v3.7.0b5</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>3.7.0b5</title>
<updated>2018-05-30T23:50:49+00:00</updated>
<author>
<name>Ned Deily</name>
<email>nad@python.org</email>
</author>
<published>2018-05-30T23:50:49+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=abb88023896f545b18d20c7d0d5934b11230a12f'/>
<id>abb88023896f545b18d20c7d0d5934b11230a12f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-31368: Enhance os.preadv() documentation (GH-7254)</title>
<updated>2018-05-30T23:22:13+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-05-30T23:22:13+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=0e823c6efa4729f3cd19f96af82c673b10cd3ee2'/>
<id>0e823c6efa4729f3cd19f96af82c673b10cd3ee2</id>
<content type='text'>
(cherry picked from commit 02e2a085dc1740b1cbf4ba2ed77335c84ce8a367)

Co-authored-by: Pablo Galindo &lt;Pablogsal@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 02e2a085dc1740b1cbf4ba2ed77335c84ce8a367)

Co-authored-by: Pablo Galindo &lt;Pablogsal@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>3.6 what's new: fix a reference to PEP 528 (GH-7113) (#7256)</title>
<updated>2018-05-30T23:09:00+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-05-30T23:09:00+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=5191892c29e1d84c9135f15e7620b89c75e03d56'/>
<id>5191892c29e1d84c9135f15e7620b89c75e03d56</id>
<content type='text'>
(cherry picked from commit 495e567a2b3bbe3b99f0c253edf12997a9ff4ee1)

Co-authored-by: Dmitry Shachnev &lt;mitya57@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 495e567a2b3bbe3b99f0c253edf12997a9ff4ee1)

Co-authored-by: Dmitry Shachnev &lt;mitya57@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-33696: Install python-docs-theme even if SPHINXBUILD is defined (GH-7242)</title>
<updated>2018-05-30T17:32:33+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-05-30T17:32:33+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=ea1982a475a619500c93bc3d60c6cb63a202b7ed'/>
<id>ea1982a475a619500c93bc3d60c6cb63a202b7ed</id>
<content type='text'>
(cherry picked from commit 05f1c8902c78dce66aed067444e2b973221bae2b)

Co-authored-by: Andrés Delfino &lt;adelfino@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 05f1c8902c78dce66aed067444e2b973221bae2b)

Co-authored-by: Andrés Delfino &lt;adelfino@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Improve ensurepip's --help (GH-4686) (GH-7238)</title>
<updated>2018-05-30T08:34:32+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-05-30T08:34:32+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=d9b118284c629cba27fae7b4362933967a4715af'/>
<id>d9b118284c629cba27fae7b4362933967a4715af</id>
<content type='text'>
* Add a space to ensurepip's --altinstall option
* Add periods to the arguments of ensurepip that didn't have it

This makes --help for all optional arguments consistent and also makes it
consistent with pip --help.
(cherry picked from commit e9537ad6a128924dd610bea2268065500c174181)

Co-authored-by: Wieland Hoffmann &lt;mineo@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add a space to ensurepip's --altinstall option
* Add periods to the arguments of ensurepip that didn't have it

This makes --help for all optional arguments consistent and also makes it
consistent with pip --help.
(cherry picked from commit e9537ad6a128924dd610bea2268065500c174181)

Co-authored-by: Wieland Hoffmann &lt;mineo@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[3.7] bpo-23859: Document that asyncio.wait() does not cancel its futures (GH-7217) (#7227)</title>
<updated>2018-05-30T01:26:22+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-05-30T01:26:22+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=f95269404c03bd769a3551cd851b51b8f89672df'/>
<id>f95269404c03bd769a3551cd851b51b8f89672df</id>
<content type='text'>
* bpo-23859: Document that asyncio.wait() does not cancel its futures (GH-7217)

Unlike `asyncio.wait_for()`, `asyncio.wait()` does not cancel the passed
futures when a timeout accurs.
(cherry picked from commit f9aeca2085464838f04bf13f816a1f861d43541f)

Co-authored-by: Elvis Pranskevichus &lt;elvis@magic.io&gt;

* Update asyncio-task.rst
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* bpo-23859: Document that asyncio.wait() does not cancel its futures (GH-7217)

Unlike `asyncio.wait_for()`, `asyncio.wait()` does not cancel the passed
futures when a timeout accurs.
(cherry picked from commit f9aeca2085464838f04bf13f816a1f861d43541f)

Co-authored-by: Elvis Pranskevichus &lt;elvis@magic.io&gt;

* Update asyncio-task.rst
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "bpo-22087: Fix Policy.get_event_loop() to detect fork (GH-7208)" (GH-7233)</title>
<updated>2018-05-30T00:56:33+00:00</updated>
<author>
<name>Yury Selivanov</name>
<email>yury@magic.io</email>
</author>
<published>2018-05-30T00:56:33+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=af9cda9845666e2f704177a431d29f91efbf828a'/>
<id>af9cda9845666e2f704177a431d29f91efbf828a</id>
<content type='text'>
This reverts commit 2a7eb0b531656f4a77d85078e6e009e4b3639ef9.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 2a7eb0b531656f4a77d85078e6e009e4b3639ef9.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-32684: Fix nits in tests (GH-7225) (#7231)</title>
<updated>2018-05-30T00:40:54+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-05-30T00:40:54+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=3ddee64587482082fcbab930ff82ed67aa9f4a0d'/>
<id>3ddee64587482082fcbab930ff82ed67aa9f4a0d</id>
<content type='text'>
(cherry picked from commit 6f75bae74866b6acf638e3aa610d830d55b7e314)

Co-authored-by: Yury Selivanov &lt;yury@magic.io&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 6f75bae74866b6acf638e3aa610d830d55b7e314)

Co-authored-by: Yury Selivanov &lt;yury@magic.io&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[3.7] bpo-31639: Change ThreadedHTTPServer to ThreadingHTTPServer class name (GH-7195) (GH-7219)</title>
<updated>2018-05-30T00:24:17+00:00</updated>
<author>
<name>Julien Palard</name>
<email>julien@palard.fr</email>
</author>
<published>2018-05-30T00:24:17+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=4f53e2ac16e0bebae0a0c18f220295035b081ee3'/>
<id>4f53e2ac16e0bebae0a0c18f220295035b081ee3</id>
<content type='text'>
* [3.7] bpo-31639: Change ThreadedHTTPServer to ThreadingHTTPServer class name (GH-7195).
(cherry picked from commit 1cee216cf383eade641aed22f4ec7d4cb565ecff)

* Fix whatsnew entry about ThreadedHTTPServer. (GH-7220)
(cherry picked from commit a34e424bdbc62b4d83593af1c0d459d8aaac90f3)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* [3.7] bpo-31639: Change ThreadedHTTPServer to ThreadingHTTPServer class name (GH-7195).
(cherry picked from commit 1cee216cf383eade641aed22f4ec7d4cb565ecff)

* Fix whatsnew entry about ThreadedHTTPServer. (GH-7220)
(cherry picked from commit a34e424bdbc62b4d83593af1c0d459d8aaac90f3)
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-32751: Wait for task cancellation in asyncio.wait_for() (GH-7216)</title>
<updated>2018-05-29T22:37:06+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-05-29T22:37:06+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=d8948c5e09c4a2a818f6f6cfaf8064f2c2138fa5'/>
<id>d8948c5e09c4a2a818f6f6cfaf8064f2c2138fa5</id>
<content type='text'>
Currently, asyncio.wait_for(fut), upon reaching the timeout deadline,
cancels the future and returns immediately.  This is problematic for
when *fut* is a Task, because it will be left running for an arbitrary
amount of time.  This behavior is iself surprising and may lead to
related bugs such as the one described in bpo-33638:

    condition = asyncio.Condition()
    async with condition:
        await asyncio.wait_for(condition.wait(), timeout=0.5)

Currently, instead of raising a TimeoutError, the above code will fail
with `RuntimeError: cannot wait on un-acquired lock`, because
`__aexit__` is reached _before_ `condition.wait()` finishes its
cancellation and re-acquires the condition lock.

To resolve this, make `wait_for` await for the task cancellation.
The tradeoff here is that the `timeout` promise may be broken if the
task decides to handle its cancellation in a slow way.  This represents
a behavior change and should probably not be back-patched to 3.6 and
earlier.
(cherry picked from commit e2b340ab4196e1beb902327f503574b5d7369185)

Co-authored-by: Elvis Pranskevichus &lt;elvis@magic.io&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently, asyncio.wait_for(fut), upon reaching the timeout deadline,
cancels the future and returns immediately.  This is problematic for
when *fut* is a Task, because it will be left running for an arbitrary
amount of time.  This behavior is iself surprising and may lead to
related bugs such as the one described in bpo-33638:

    condition = asyncio.Condition()
    async with condition:
        await asyncio.wait_for(condition.wait(), timeout=0.5)

Currently, instead of raising a TimeoutError, the above code will fail
with `RuntimeError: cannot wait on un-acquired lock`, because
`__aexit__` is reached _before_ `condition.wait()` finishes its
cancellation and re-acquires the condition lock.

To resolve this, make `wait_for` await for the task cancellation.
The tradeoff here is that the `timeout` promise may be broken if the
task decides to handle its cancellation in a slow way.  This represents
a behavior change and should probably not be back-patched to 3.6 and
earlier.
(cherry picked from commit e2b340ab4196e1beb902327f503574b5d7369185)

Co-authored-by: Elvis Pranskevichus &lt;elvis@magic.io&gt;</pre>
</div>
</content>
</entry>
</feed>
